Skip to contents

High-level functions

with_cache()
Cache the result of an expression
cachely()
Add caching to a function

Low-level functions

Manage package cache

Functions to manage package user-cache pins board(s).

board()
Get a package's user-cache pins board
path_cache()
Get a package's user-cache pins board path
ls_cache()
List all objects in a package's user-cache pins board
clear_cache()
Clear a package's user-cache pins board
purge_cache()
Purge a package's user-cache pins board
purge_caches()
Purge all package user-cache pins boards

Handle objects

Functions to cache/retrieve/delete results of a function call.

hash_fn_call()
Hash a function call
is_cached()
Test whether an object exists in a package's user-cache pins board
cache_obj()
Cache an object to a package's user-cache pins board
get_obj()
Get a cached object from a package's user-cache pins board
rm_obj()
Delete a cached object from a package's user-cache pins board