On Tue, Feb 26, 2008 at 1:41 AM, David Cassidy <david@xxxxxxxxxxxxx> wrote:> How are you testing that this is working correctly ?>> Are you using wget with the --header="Accept-Encoding: gzip"> to test it ?> On the IE6 side I installed IE HttpAnalyzer to inspect the request andresponses between IE and Apache. With wget Apache doesn't send the javascript back using chunking, justsimply "Content-Encoding: gzip", as below: Connecting to rhodium.homemaster.cn|192.168.0.2|:80... connected.HTTP request sent, awaiting response... HTTP/1.1 200 OK Date: Tue, 26 Feb 2008 02:15:17 GMT Server: Apache/2.2.6 (Debian) mod_python/3.3.1 Python/2.4.4PHP/5.2.4-2+b1 with Suhosin-Patch Last-Modified: Tue, 12 Feb 2008 07:34:35 GMT Accept-Ranges: bytes Cache-Control: max-age=315360000 Expires: Fri, 23 Feb 2018 02:15:17 GMT Vary: Accept-Encoding Content-Encoding: gzip Connection: close Content-Type: application/x-javascriptLength: unspecified [application/x-javascript] I guess that is due to wget not supporting content negotiation. In IE6, the response header send back by Apache is follows: (Status-Line):HTTP/1.1 200 OKDate:Tue, 26 Feb 2008 02:16:25 GMTServer:Apache/2.2.6 (Debian) mod_python/3.3.1 Python/2.4.4PHP/5.2.4-2+b1 with Suhosin-PatchLast-Modified:Tue, 12 Feb 2008 07:34:35 GMTAccept-Ranges:bytesCache-Control:max-age=315360000Expires:Fri, 23 Feb 2018 02:16:25 GMTVary:Accept-Encoding----------------:----Keep-Alive:timeout=15, max=97Connection:Keep-AliveTransfer-Encoding:chunkedContent-Type:application/x-javascript It uses Transfer-Encoding:chunked instead of Content-Type:gzip. Andthe script doesn't gets cached despite a far-future expires header. -- Hong Yuan 大管家网上建材超市装修装潢建材一站式购物http://www.homemaster.cn