memcached icon indicating copy to clipboard operation
memcached copied to clipboard

What is the size limit of Json that I can cache?

Open guypaskar opened this issue 9 years ago • 1 comments

Thanks

guypaskar avatar Jul 16 '15 08:07 guypaskar

The default maximum object size is 1MB. In memcached 1.4.2 and later, you can change the maximum size of an object using the -I command line option. ( https://docs.oracle.com/cd/E17952_01/refman-5.6-en/ha-memcached-faq.html )

This npm module has much the same limits by verifying that the data is less than 1048576 bytes. This is also configurable and is defined in lib/memcached.js.

bdunavant avatar Aug 04 '15 14:08 bdunavant