preheat_open.cache

Managing minimalistic caching of data

The functions automatically take care of creating the folder structure to host the cache files, if needed.

Functions

delete_from_cache(id[, path])

Deletes data from the on-disk cache

load_from_cache(id[, expiry_s, path])

Loads data from the on-disk cache.

save_to_cache(data, id[, path])

Save given data to an on-disk cache