Liking cljdoc? Tell your friends :D

wagoe.cache.shell.module-wiring

Integrant wiring for the cache module.

Supports two providers selectable via config:

  • :redis — distributed Redis-backed cache (production)
  • :in-memory — local atom-based cache (dev / tests without Redis)

Config key: :wagoe/cache Example (Redis): {:provider :redis :host "localhost" :port 6379 :default-ttl 300 :max-total 20 :max-idle 10 :min-idle 2}

Example (in-memory): {:provider :in-memory :default-ttl 300 :max-size 10000}

Integrant wiring for the cache module.

Supports two providers selectable via config:
- :redis      — distributed Redis-backed cache (production)
- :in-memory  — local atom-based cache (dev / tests without Redis)

Config key: :wagoe/cache
Example (Redis):
  {:provider :redis
   :host "localhost" :port 6379
   :default-ttl 300
   :max-total 20 :max-idle 10 :min-idle 2}

Example (in-memory):
  {:provider :in-memory
   :default-ttl 300
   :max-size 10000}
raw docstring

No vars found in this namespace.

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close