Memory adapter for catbox
Lead Maintainer - Colin Ihrig
maxByteSize
- sets an upper limit on the number of bytes that can be stored in the cached. Once this limit is reached no additional items will be added to the cache until some expire. The utilized memory calculation is a rough approximation and must not be relied on. Defaults to104857600
(100MB).allowMixedContent
- stores and retrieves buffers as Buffer. Buffers are copied before storing to prevent value from changing while in the cache. Defaults tofalse
.