alaska-cache-lru

0.13.2 • Public • Published

Alaska LRU cache driver based on lru-cache

configure

cache: {
  type: 'alaska-cache-lru',
  // The maximum size of the cache. default Infinity
  max: 500,
  // Default maximum age in milliseconds, 0 for forever
  maxAge: 3600 * 1000
  //more https://github.com/isaacs/node-lru-cache#options
}

Contribute

Maichong Software

Liang Xingchen

License

This project is licensed under the terms of the MIT license

Readme

Keywords

Package Sidebar

Install

npm i alaska-cache-lru

Weekly Downloads

7

Version

0.13.2

License

MIT

Unpacked Size

4.02 kB

Total Files

3

Last publish

Collaborators

  • liangxingchen