cache-api: HTTP Cache API

Description Usage Arguments Value

Description

These functions provide access to what's stored in the cache.

Usage

1
2
3
4
5
hitCache(key)

getCache(key)

setCache(key, value)

Arguments

key

character, typically a URL or similar

value

For setCache, an R object to set in the cache for key.

Value

hitCache returns logical whether key exists in the cache. getCache returns the value stored in the cache, or NULL if there is nothing cached. setCache is called for its side effects.


httpcache documentation built on Jan. 13, 2021, 7:46 p.m.