Can proxy_cache gzip cached content?

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


On Sun, Feb 19, 2012 at 12:31 AM, Maxim Dounin <mdounin at mdounin.ru> 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...

Cheers,
Massimiliano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120219/aac5de5f/attachment.html>


More information about the nginx mailing list