前端缓存工具cache-manager
前端缓存工具cache-manager
Install
npm install cache-manager
Basic Usage
set(key, val, {ttl: ttl}, cb) // * see note below
get(key, cb)
del(key, cb)
mset(key1, val1, key2, val2, {ttl: ttl}, cb) // set several keys at once
mget(key1, key2, key3, cb) // get severa
原创
2022-02-12 13:36:24 ·
1343 阅读 ·
0 评论