| CacheConfig | R Documentation |
Configuration for cache layer
backendCache backend type
memory_max_sizeMax items in memory
memory_ttl_secondsDefault TTL in seconds
file_cache_dirDirectory for file cache
file_ttl_secondsFile cache TTL
prefixCache key prefix
compressionUse compression
new()Create a new CacheConfig
CacheConfig$new( backend = "memory", memory_max_size = 10000, memory_ttl_seconds = 3600, file_cache_dir = NULL, file_ttl_seconds = 86400, prefix = "vectrix:", compression = TRUE )
backendBackend type
memory_max_sizeMax memory items
memory_ttl_secondsMemory TTL
file_cache_dirFile cache directory
file_ttl_secondsFile TTL
prefixKey prefix
compressionUse compression
clone()The objects of this class are cloneable with this method.
CacheConfig$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.