
08-08-2007, 07:17 AM
|
|
Senior Member
|
|
Join Date: May 2007
Posts: 237
|
|
I added the mime type for js long ago.
But let's just use the css for now as an example.
Both my browser and my php test tool for gzip (which does not cache in any circumstance) are showing it as still uncompressed.
Code:
GET /forums/example/style.css HTTP/1.1
Host: example.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
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
Pragma: no-cache
Cache-Control: no-cache
HTTP/1.x 200 OK
Date: Wed, 08 Aug 2007 14:19:40 GMT
Server: LiteSpeed
Accept-Ranges: bytes
Connection: Keep-Alive
Keep-Alive: timeout=5, max=100
Cache-Control: max-age=604800
Expires: Wed, 15 Aug 2007 14:19:40 GMT
Etag: "1dde-46aca652-37c334e"
Last-Modified: Sun, 29 Jul 2007 14:38:10 GMT
Content-Type: text/css
Content-Length: 7646
Last edited by aww; 08-08-2007 at 07:22 AM..
|