Hi,<div><br></div><div><span style="color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13.333333015441895px;line-height:16.66666603088379px;background-color:rgb(251,251,251)">I have used the gunzip filter module to inflate the compressed response. This module is very efficient and help us a lot. But it It just work when the request don't send the Accept-Encoding: Gzip header. If the client can accept compressed response, it will not work at all. I have changed this module and added a gunzip_force directive. Then it will always inflate the compressed response when the directive is turned on.</span></div>
<div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="line-height:16.649999618530273px"><br></span></font></div><div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="line-height:16.649999618530273px">This patch could be helpful for other filter modules, like ssi module and substitute module etc. It can save the </span></font><span style="color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13.333333015441895px;line-height:16.66666603088379px;background-color:rgb(251,251,251)">bandwidth with backend servers. In our company, the intranet </span><span style="color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13px;line-height:16.649999618530273px;background-color:rgb(251,251,251)">bandwidth really kills us.</span></div>
<div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="line-height:16.649999618530273px"><br></span></font></div><div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="line-height:16.649999618530273px">This patch is from the separated gunzip module. It should be similar with the Nginx official source code. Hope this be helpful.<br clear="all">
</span></font><div><br></div>-- <br>Weibin Yao<br>Developer @ Server Platform Team of Taobao
</div>