<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">I recently bumped into some trouble with a client caching uncompressed data without understanding where it came from.<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">After long investigation on what appeared to be random, I narrowed it to the <a href="http://nginx.org/en/docs/http/ngx_http_gzip_module.html#gzip_proxied">gzip_proxied</a> directive. Return content from webserver was supposed to be <b>always</b> compressed (as compressed data is generally better than uncompressed whenever possible), but when requests coming from clients behind proxies resulted in MISS, the returned content was uncompressed and stored as such in cache... thus serving cached uncompressed data to final clients.<br clear="all"></div><br><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">​Why is the default value of that directive 'off'? What is the problem with sneding compressed data to proxies? Why have you decided on such a default value?<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Thanks,<br clear="all"></div><div><div class="gmail_signature"><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font></div></div>
</div>