Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A backend for Cacher that plugs into memcached
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test
.gitignore
README.md
index.js
package.json

README.md

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))
Something went wrong with that request. Please try again.