Liking cljdoc? Tell your friends :D

reverie.cache


*caching?*clj


evict-cache!cljmultimethod


get-cachemanagerclj

(get-cachemanager data)

get-fnclj

(get-fn fragment)

get-prune-taskclj

(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
raw docstring

ICacheKeyStrategycljprotocol

get-hash-keyclj

(get-hash-key cache-key-strategy page request)

ICacheManangercljprotocol

cache!clj

(cache! manager page request)
(cache! manager page rendered request)

clear!clj

(clear! manager)

evict!clj

(evict! manager page)
(evict! mananager page evict?-fn)

lookupclj

(lookup manager page request)

ICacheStorecljprotocol

clear-cacheclj

(clear-cache store)

delete-cacheclj

(delete-cache store options key)

read-cacheclj

(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-cacheclj

(write-cache store options key data)

IPruneStrategycljprotocol

prune!clj

(prune! strategy cachemanager)

prune-task!clj

(prune-task! t {:keys [strategy cachemanager] :as opts})

saved-fnsclj


skipcljmacro

(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
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close