View source: R/cache-layered.R
cache_layered | R Documentation |
Note that cache_layered
is currently experimental.
cache_layered(..., logfile = NULL)
... |
Cache objects to compose into a new, layered cache object. |
logfile |
An optional filename or connection object to where logging
information will be written. To log to the console, use |
A layered caching object, with class cache_layered
.
# Make a layered cache from a small memory cache and large disk cache
m <- cache_mem(max_size = 100 * 1024^2)
d <- cache_disk(max_size = 2 * 1024^3)
cl <- cache_layered(m, d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.