pkgdown/extra.css Skip to contents

Returns a tibble describing all currently cached entries, including the cache key (endpoint + parameters), row count, timestamp and age. Useful for understanding what is cached and when it will expire.

Usage

tce_cache_info()

Value

A tibble with columns key, rows, cached_at and age_secs, or an empty tibble if the cache is empty. The cache TTL is controlled by getOption("tceper.cache_ttl", 3600).

Examples

tce_cache_info()
#>  Cache is empty.
#> # A tibble: 0 × 4
#> # ℹ 4 variables: key <chr>, rows <int>, cached_at <dttm>, age_secs <dbl>