cache-api: HTTP Cache API

cache-apiR Documentation

HTTP Cache API

Description

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

Usage

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.


nealrichardson/httpcache documentation built on April 21, 2023, 3:41 p.m.