Skip to content
fogus edited this page Mar 13, 2012 · 23 revisions

Using core.cache

note: see the page on Including core.cache before you begin this section

Builtin cache implementations

core.cache comes with a number of builtin immutable cache implementations, including (click through for specific information):

The core.cache implementations are backed by any map-like object. Additionally, each cache implements the Clojure map behaviors and can therefore serve as special maps or even as backing stores for other cache implementations. For caches taking a limit argument, the eviction policies tend not to apply until the limit has been exceeded.

Extending core.cache

See the section on creating custom caches for more information.

Clone this wiki locally