On Mon, 2007 May 14 08:40:22 +0200, Mike Hommey wrote: > > Could you install mozilla-livehttpheaders, open tools->live http > headers, and check out the headers the server sends and post them here ?
Oh, f***... the server is sending "Content-Encoding: gzip, gzip", which apparently means that mod_gzip is compressing the already-gzipped CSS and Javascript content. (These live as static .css.gz/.js.gz files on the server, and are served using a non-mod_gzip content-negotiation mechanism.) So that's it, then. My server provider has a misconfigured mod_gzip. The whole problem goes away when I explicitly disable mod_gzip with "mod_gzip_on No". Sorry for not catching this sooner---this behavior did not show up with text/html (see below), nor with "lynx -head", which was what I was using to test the server response. (FWIW, Opera and Safari did load the page correctly, which leaves open the question of whether "gzip, gzip" should be handled in a more graceful way.) http://example.com/ GET / HTTP/1.1 Host: example.com User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-1) Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive HTTP/1.x 200 OK Date: Mon, 14 May 2007 06:59:07 GMT Server: Apache/1.3.37 (Unix) mod_throttle/3.1.2 DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.4.7 mod_ssl/2.8.22 OpenSSL/0.9.7e Vary: Accept-Encoding Cache-Control: max-age=60 Expires: Mon, 14 May 2007 07:00:07 GMT Last-Modified: Sun, 13 May 2007 23:50:43 GMT Etag: "472034f-a67-4647a453" Accept-Ranges: bytes Content-Length: 2663 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 Content-Encoding: gzip Content-Language: en-US ---------------------------------------------------------- http://example.com/common/foo-icon.png GET /common/foo-icon.png HTTP/1.1 Host: example.com User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-1) Accept: image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive HTTP/1.x 200 OK Date: Mon, 14 May 2007 06:59:07 GMT Server: Apache/1.3.37 (Unix) mod_throttle/3.1.2 DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.4.7 mod_ssl/2.8.22 OpenSSL/0.9.7e Cache-Control: max-age=14400 Expires: Mon, 14 May 2007 10:59:07 GMT Last-Modified: Tue, 30 Jan 2007 01:42:58 GMT Etag: "329cf73-eb-45bea2a2" Accept-Ranges: bytes Content-Length: 235 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: image/png Content-Language: en-US ---------------------------------------------------------- http://example.com/common/foo.css GET /common/foo.css HTTP/1.1 Host: example.com User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-1) Accept: text/css,*/*;q=0.1 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: http://example.com/ HTTP/1.x 200 OK Date: Mon, 14 May 2007 06:59:07 GMT Server: Apache/1.3.37 (Unix) mod_throttle/3.1.2 DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.4.7 mod_ssl/2.8.22 OpenSSL/0.9.7e Vary: Accept-Encoding Cache-Control: max-age=3600 Expires: Mon, 14 May 2007 07:59:07 GMT Last-Modified: Mon, 14 May 2007 06:58:40 GMT Etag: "329cf7d-c42-464808a0" Accept-Ranges: bytes Content-Length: 3138 Keep-Alive: timeout=5, max=99 Connection: Keep-Alive Content-Type: text/css Content-Encoding: gzip, gzip Content-Language: en-US ---------------------------------------------------------- http://example.com/common/foo.js GET /common/foo.js HTTP/1.1 Host: example.com User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-1) Accept: */* Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: http://example.com/ HTTP/1.x 200 OK Date: Mon, 14 May 2007 06:59:07 GMT Server: Apache/1.3.37 (Unix) mod_throttle/3.1.2 DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.4.7 mod_ssl/2.8.22 OpenSSL/0.9.7e Vary: Accept-Encoding Cache-Control: max-age=3600 Expires: Mon, 14 May 2007 07:59:07 GMT Last-Modified: Mon, 14 May 2007 06:58:46 GMT Etag: "4c0b2a0-22d-464808a6" Accept-Ranges: bytes Content-Length: 557 Keep-Alive: timeout=5, max=99 Connection: Keep-Alive Content-Type: application/x-javascript Content-Encoding: gzip, gzip Content-Language: en-US -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

