Skip to content

Schibsted-Tech-Polska/good-guy-cache-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

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)

About

Redis cache implementation for Good Guy HTTP

Resources

Stars

Watchers

Forks

Packages

No packages published