Page MenuHomeSealhub

README.md
No OneTemporary

README.md

catbox-memory
=============
Memory adapter for catbox
Lead Maintainer - [Colin Ihrig](https://github.com/cjihrig)
Current version: **1.0.x** [![Build Status](https://api.travis-ci.org/hapijs/catbox-memory.svg)](https://travis-ci.org/hapijs/catbox-memory)
### Options
- `maxByteSize` - sets an upper limit on the number of bytes that can be stored in the
cache. 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 to `104857600` (100MB).
- `allowMixedContent` - by default, all data is cached as JSON strings, and converted
to an object using `JSON.parse()` on retrieval. By setting this option to `true`,
`Buffer` data can be stored alongside the stringified data. `Buffer`s are not
stringified, and are copied before storage to prevent the value from changing while
in the cache. Defaults to `false`.

File Metadata

Mime Type
text/plain
Expires
Wed, Aug 13, 20:29 (7 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
871926
Default Alt Text
README.md (955 B)

Event Timeline