Memcache and garbled text returned by Nginx

Maxim Dounin mdounin at
Tue Feb 15 19:25:53 MSK 2011


On Tue, Feb 15, 2011 at 10:36:02AM -0500, kaspars wrote:

> I have a php script that writes the whole page output (using output
> buffering and PECL memcache module) to memcache using keys such as:
> $host$request_uri


> The problem is that I'm getting garbled text returned by nginx, which
> looks like this:
> x�å\{sŪ¶²’;�¹ße;�=5õ

Looks like your client stores compressed data in memcached.  Check 
your client documentation to find out how to switch it off.

Maxim Dounin

More information about the nginx mailing list