Description Usage Arguments Details
memoise::cache_filesystem()
stores all caches in a single directory
which degrades filesystem performance when you have a large number
of cache files. This function adds a second level subdirectory structure
to help mitigate this issue. Future versions will enable the caller
to choose the number of levels. This works with all digest::digest()
hashing algorithms.
1 |
path |
Directory in which to store cached items. |
algo |
The hashing algorithm used for the cache, see |
Two additional functions are provided in slots in the returned list:
location()
which will return the path to the cache directory
size()
which will compute and return the size of the cache (in bytes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.