dot-get_cache: Get a cache value

.get_cacheR Documentation

Get a cache value

Description

Get a cache value

Usage

.get_cache(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 result, or NULL if not found, expired, or hash mismatch


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