Skip to contents

Returns the cache backend currently used by cache().

Usage

get_cache_backend()

Value

A cache backend object (typically from cachem), or NULL if the cache has not yet been initialised.

Examples

get_cache_backend()
#> <cache_mem> <cachem>
#>   Methods:
#>     get(key, missing = missing_)
#>     set(key, value)
#>     exists(key)
#>     keys()
#>     remove(key)
#>     reset()
#>     prune()
#>     size()
#>     info()