Skip to contents

Open and close

Keys and codecs

Read

cache_get() cache_mget() cache_has()
Read from a cache
cache_path()
The file behind an entry

Write

List and describe

cache_keys() cache_count() cache_volume()
List and count a cache's entries
cache_entries() cache_info() cache_stats()
The catalogue of a cache

Maintain

cache_expire()
Reclaim expired entries
cache_cull() cache_evict() cache_clear()
Keep a cache under its size limit
cache_check()
Check a cache, and repair it

Compose

cache_transact()
Run several writes as one transaction
cache_memoise() cache_memoise_key() cache_forget() cache_forget_all() is_cache_memoised()
Memoise a function in a cache

Interoperate

as_cachem()
Use a cache through the cachem interface
length(<dazcache_cache>) `[[`(<dazcache_cache>) `[[<-`(<dazcache_cache>) as.list(<dazcache_cache>)
Base generics for a cache

Conditions

dazcache-conditions
Conditions raised by dazcache