Can proxy_cache gzip cached content?

Massimiliano Mirra hyperstruct at
Sun Feb 19 10:02:34 UTC 2012

On Sun, Feb 19, 2012 at 12:31 AM, Maxim Dounin <mdounin at> wrote:

> Yes.  The easier way is to just write
>     gunzip on;
> It will gunzip responses for clients which don't support gzip (as per
> Accept-Encoding and gzip_http_version/gzip_proxied/gzip_disabled,
> i.e. the same checks as done for gzip and gzip_static).

Thanks Max, I had come to the conclusion that it was always decompressing
content but now I see I had been "testing" with curl -H 'Content-Encoding:
gzip'. No wonder...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list