cacher-memcached

A pluggable backend for Cacher that uses memcached

npm install cacher-memcached
2 downloads in the last day
9 downloads in the last week
38 downloads in the last month

CacherMemcached

This is a pluggable backend for Cacher (https://github.com/addisonj/node-cacher)

What is it?

A small adapter to use node-memcached as a store for Cacher

Options

CacherMemcached takes the same parameters as node-memcached (https://github.com/3rd-Eden/node-memcached)

Additionally, it can take an existing memcached connection and resuse it:

var memcached = require('memcached')(['host1', 'host2'], {retries: 100})
var Cacher = require('cacher')
var CacherMemcached = require('cacher-memcached')
var cacher = new Cacher(new CacherMemcached(memcached))
npm loves you