<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Lucida Sans Unicode">Thanks, I didn't think
about the content-length. But I'm still having the same problem with
larger pages not being gzipped:<br>
<br>
e.g.<br>
Browser request:<br>
GET /xhtml.xhtml HTTP/1.1<br>
Host: <a class="moz-txt-link-abbreviated" href="http://www.domain.com">www.domain.com</a><br>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.5)
Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)<br>
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8<br>
Accept-Language: en-gb,en;q=0.5<br>
Accept-Encoding: gzip,deflate<br>
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7<br>
Keep-Alive: 300<br>
Connection: keep-alive<br>
Authorization: Basic password<br>
<br>
Response:<br>
HTTP/1.1 200 OK<br>
Server: nginx<br>
Date: Sat, 28 Nov 2009 11:44:22 GMT<br>
Content-Type: application/xhtml+xml<br>
Connection: keep-alive<br>
Content-Length: 732<br>
Last-Modified: Sat, 28 Nov 2009 09:38:10 GMT<br>
Accept-Ranges: bytes<br>
<br>
I forgot to mention what version of Nginx I'm running -<big> </big>it's
</font></font><small><font face="Lucida Sans Unicode">nginx/0.7.6.
Also, my webhost runs Nginx on the front end, which proxies requests to
my installation of Nginx. I don't know if this would make any
difference (I did check it was my installation that was gzipping the
css and js by turning off gzip and then checking if the css and js were
still being gzipped or not, and they weren't, so my installation can
definitely gzip files okay, just seems like it won't gzip
application/xhtml+xml files).</font></small><br>
<font size="-1"><font face="Lucida Sans Unicode"><br>
Thanks<br>
<br>
Dave<br>
</font></font>
</body>
</html>