kit-redis

Contents

  1. Integrant components
  2. :cache/redis

Integrant components

:cache/redis

This component connects to a Redis cache cluster using carmine and provides a clojure.core.cache interface over it.

Sample configuration:

{:ttl  3600
 :conn {:pool {}
        :spec #profile {:dev  {:host "localhost" :port 6379}
                        :test {:host "localhost" :port 6379}
                        :prod {:uri #env REDIS_URI}}}}