good-guy-cache-redis
v1.2.0
Published
Redis cache adapter for Good Guy HTTP
Downloads
11
Readme
Redis cache implementation for Good Guy HTTP.
Usage
var RedisCache = require('good-guy-cache-redis');
var cache = new RedisCache({
host: 'redis.host', port: 1234, options: { ...native RedisClient options...},
auth: ... // if set, will be sent with a Redis AUTH command right after connecting
ttl: 60 * 30, // time-to-live for cached values, in seconds
// (set to Infinity if they should never expire)
// (default is 24h)