node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »



This is a pluggable backend for Cacher (

What is it?

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


CacherMemcached takes the same parameters as 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))