Description Usage Arguments Details See Also Examples
View source: R/cache_backend.R
Get/Set the default cache backend
1 2 3 |
backend |
string; name for the backend. Note this is not the file extension but the name of a registered backend. |
cache_backend()
gets or sets the default method(s) for reading and writing
from/to the cache. Without an argument, it returns the current default
backend. With a string backend
argument, it sets the default methods to
those associated with that backend
cache_backend()
throws an error if no backend is registered for the
backend
argument. Register that backend with cache_register()
first.
cache_use_backend()
requires a backend
string to be provided but
otherwise works as cache_backend()
cache_register()
backends_ls()
1 2 3 4 | cache_use_backend('rds')
cache_backend('rds') # same
cache_backend()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.