cache-api function

HTTP Cache API

HTTP Cache API

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

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.

Returns

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.