hapijs / catbox

Multi-strategy object caching service
Other
494 stars 72 forks source link

Is there a way to have compress the value of the item? #186

Closed noppanit closed 7 years ago

noppanit commented 7 years ago

I'm using Redis catbox but I'm wondering if there's a callback I can use to compress the value before putting item into Redis? I can't seem to find any

kanongil commented 7 years ago

Catbox just stores and retrieves the value that you pass. You can store a compressed object if you want, though there no built-in mechanism to do this for you.

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.