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 toInfinity.copyAlways return a deep copy of values from the cache. Default istrue. Set tofalseto cache by reference (use care).