auto-cache
v1.0.4
Published
a cache framework,support local memory,redis
Downloads
1
Readme
Auto-Cache
Fast, Quick, Lite Cache framework for node.
Installation
$ npm install auto-cache --save
Tests
To run the test suite, first install the dependencies, then run npm test
:
$ npm install
$ npm test
Usage
var AutoCache = require('auto-cache');
var autoCache = new AutoCache();
autoCache.get('hash','key', function (cb) {
// TODO
},5*60*60);
Features
- Memory Cache
- Redis Cache