Hi
Thank you very much
-----邮件原件-----
å‘件人: [email protected] [mailto:[email protected]] 代表 Maxim
Dounin
å‘逿—¶é—´: 2009å¹´6月5æ—¥ 2:49
收件人: [email protected]
主题: Re: ç”å¤: How to disable chunked transfer-encoding
Hello!
On Fri, Jun 05, 2009 at 02:11:11AM +0800, Zhang,Tony wrote:
Hi
Oh, gotcha , I did enable gzip
So, for instance, If I put a squid in front of Nginx which is gzip enabled, the chunked header will be disappeared, correct?
As long as squid will behave like proxy (i.e. any uncached
request) - no, it shouldn’t (as squid has to read full response
before it will be able to drop chunked encoding).
And my question is , will the chunked header do performance impact on static content serving, that’s my concern, and considering adding squid like things in front of Nginx?
No, shouldn’t have any noticeble performance impact, it’s just a
few extra bytes. Adding squid in from of nginx will likely have
though - I guess it will slow down things a lot.
If you really care about performance - take a look at gzip_static
module instead. This will save you a lot of CPU time. As a side
effect it will allow nginx to use Content-Length instead of
chunked, but this doesn’t really matter.
Maxim D.
2616 too), so it should be safe.
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.339 / Virus Database: 270.12.53/2154 - Release Date: 06/04/09 05:53:00
No virus found in this outgoing message.
Checked by AVG - www.avg.com
Version: 8.5.339 / Virus Database: 270.12.53/2154 - Release Date: 06/04/09 05:53:00
This e-mail is confidential. It may also be legally privileged.If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error,please delete it and all copies from your system and notify the sender immediately by return e-mail.Internet communications cannot be guaranteed to be timely,secure, error or virus-free. The sender does not accept liability for any errors or omissions.
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.339 / Virus Database: 270.12.53/2155 - Release Date:
06/04/09 17:55:00
No virus found in this outgoing message.
Checked by AVG - www.avg.com
Version: 8.5.339 / Virus Database: 270.12.53/2155 - Release Date:
06/04/09 17:55:00
This e-mail is confidential. It may also be legally privileged.If you
are not the addressee you may not copy, forward, disclose or use any
part of it. If you have received this message in error,please delete it
and all copies from your system and notify the sender immediately by
return e-mail.Internet communications cannot be guaranteed to be
timely,secure, error or virus-free. The sender does not accept liability
for any errors or omissions.