cache_get: Get a cached value

View source: R/cache_read.R

cache_getR Documentation

Get a cached value

Description

Get a cached value

Usage

cache_get(name, file = NULL, expire_after = NULL)

Arguments

name

The cache name

file

Optional file path to store the cache (default: ⁠cache/{name}.rds⁠)

expire_after

Optional expiration time in hours (default: from config)

Value

The cached value, or NULL if not found, expired, or hash mismatch


framework documentation built on Feb. 18, 2026, 1:07 a.m.