@contentacms/redis
v1.0.0
Published
Redis wrapper for ContentaJS, a drop in replacement for the LRU in-memory cache.
Downloads
1
Readme
# NOTE: Append the 'redis' section under 'plugins'
applicationCache:
activePlugin: redis # <--- ACTIVATE REDIS
plugins:
lru: … # You can keep existing configuration to switch back if needed.
foo: …
bar: …
redis: # <--- APPEND THIS SECTION
# Additional options for node_redis
# http://redis.js.org/#api-rediscreateclient passed verbatim.
host: 127.0.0.1
port: 6379
prefix: 'contentajs::'