var Queue = require('cache-queue');
// you can set the expire time(ms) and the total number of caching objects
var cache = Queue.get('mydata', {ttl: 3600000, length: 500});
cache.set('mykey', "this is my data");
cache.get('mykey');
-
Notifications
You must be signed in to change notification settings - Fork 1
leonchen/cacheQueue
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Queue for caching objects
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published