I figured it out. I added: ini_set('memcache.compress_threshold',100000); to the top of the script which adds data to memcached. Apparently the default is 20000, and my string was larger than that. I guess it compresses data larger than this amount. After changing, I tested and works perfectly.by hedbanger83 - How to...
Hi, I have nginx installed working with memcached and php fastcgi. I can get the php script to add something to the cache just fine, however, depending on how long the string is that I am caching, memcache_set seems to be serializing the string. When I open the page in a browser and it takes the page from memcached, its all messed up looking. It looks like if I am viewing a binary file as teby hedbanger83 - How to...
![]() |
![]() |
![]() |
![]() |
|