1.0.7 • Published 7 years ago
auto-cache2 v1.0.7
Auto-Cache
Fast, Quick, Lite Cache framework for node.
Installation
$ npm install auto-cache --saveTests
To run the test suite, first install the dependencies, then run npm test:
$ npm install
$ npm testUsage
var AutoCache = require('auto-cache2');
var autoCache = new AutoCache();
autoCache.get('hash','key', function (cb) {
// TODO
},5*60*60);Features
- Memory Cache
- Redis Cache