(get-cachemanager data)
(get-fn fragment)
(get-prune-task strategy cachemanager {:keys [schedule]})
Scheduled task for pruning the cache. Schedule is optional, default is every minute
Scheduled task for pruning the cache. Schedule is optional, default is every minute
(get-hash-key cache-key-strategy page request)
(cache! manager page request)
(cache! manager page rendered request)
(clear! manager)
(evict! manager page)
(evict! mananager page evict?-fn)
(lookup manager page request)
(clear-cache store)
(delete-cache store options key)
(read-cache store options key)
Key should always be a string. Should raise exception on an empty key string or nil key. Options hold any data that is of interest and can't be held by any record implementing the protocol
Key should always be a string. Should raise exception on an empty key string or nil key. Options hold any data that is of interest and can't be held by any record implementing the protocol
(write-cache store options key data)
(prune! strategy cachemanager)
(prune-task! t {:keys [strategy cachemanager] :as opts})
(skip function)
Pass in a function to be skipped by the caching system. The function will be called every time for every request hitting the server. The functions must always take a request parameter
Pass in a function to be skipped by the caching system. The function will be called every time for every request hitting the server. The functions must always take a request parameter
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close