lib/memcached-cache.js
function MemcachedCache(options) {
    options = options || {};

    this.client = memjs.Client.create(options.url || 'localhost/11211');
    this.expireAfterSeconds = options.expireAfterSeconds || 60;
}
function MemcachedCache(options) {
    options = options || {};

    this.client = memjs.Client.create(options.url || 'localhost/11211');
    this.expireAfterSeconds = options.expireAfterSeconds || 60;
}
function MemcachedCache ( options ) { options = options || { } ; this . client = memjs . Client . create ( options . url || 'localhost/11211' ) ; this . expireAfterSeconds = options . expireAfterSeconds || 60 ; }
Cache implementation for memcached

@extends Cache

@param {object} [options] Options
@param {string} [options.url=http://localhost/11211] memcached URL
@param {number} [options.expireAfterSeconds=60] Expiration time in seconds

@example
var memcachedCache = new MemcachedCache({
url: 'cache.example.com:11211',
expireAfterSeconds: 600
});

@constructor
Cache implementation for memcached