0.1.5 • Published 7 years ago
stratocacher-layer-lru v0.1.5
LayerLRU
A cache layer for stratocacher backed by lru-cache.
Options
- maxThe maximum number of items in the cache. Not setting this is kind of silly, since that's the whole purpose of this lib, but it defaults to- Infinity.
- copyAlways return a deep copy of values from the cache. Default is- true. Set to- falseto cache by reference (use care).