1. 首页
  2. 考试认证
  3. 其它
  4. CacheAllTheThings 一个基于Q的节点库,用于在Redis或Memcached中缓存内容

CacheAllTheThings 一个基于Q的节点库,用于在Redis或Memcached中缓存内容

上传者: 2024-08-30 05:17:21上传 ZIP文件 7.81KB 热度 1次
缓存所有东西一个基于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
下载地址
用户评论