CacheAllTheThings 一个基于Q的节点库,用于在Redis或Memcached中缓存内容
缓存所有东西一个基于Q的Node.js库,用于缓存事物,它们都专门在Redis或Memcached中。用法npm install cacheallthethings --save var CacheAllTheThings = require ( 'cacheallthethings' ) ; var cache = new CacheAllTheThings ( 'redis' , { host : '127.0.0.1' , port : '6379' , auth : null , opts : { namespace : 'cachebabycache' } } ) ; var cache = new CacheAllTheThings ( 'memcached' , { host : '127.0.0.1' , por
下载地址
用户评论