stratocacher-layer-lru
v0.1.5
Published
An in-process lru stratocacher layer
Downloads
4
Readme
LayerLRU
A cache layer for stratocacher backed by lru-cache.
Options
max
The 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
.copy
Always return a deep copy of values from the cache. Default istrue
. Set tofalse
to cache by reference (use care).