Welcome! Log In Create A New Profile


Re: Gzipping xhtml pages

Dave Kennard
November 28, 2009 07:08AM
Thanks, I didn't think about the content-length. But I'm still having
the same problem with larger pages not being gzipped:

Browser request:
GET /xhtml.xhtml HTTP/1.1
Host: www.domain.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:
Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-gb,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
Authorization: Basic password

HTTP/1.1 200 OK
Server: nginx
Date: Sat, 28 Nov 2009 11:44:22 GMT
Content-Type: application/xhtml+xml
Connection: keep-alive
Content-Length: 732
Last-Modified: Sat, 28 Nov 2009 09:38:10 GMT
Accept-Ranges: bytes

I forgot to mention what version of Nginx I'm running - it's
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).


nginx mailing list

Gzipping xhtml pages

Dave KennardNovember 27, 2009 08:32AM

Re: Gzipping xhtml pages

Igor SysoevNovember 27, 2009 08:38AM

Re: Gzipping xhtml pages

Dave KennardNovember 28, 2009 07:08AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 88
Record Number of Users: 5 on August 04, 2015
Record Number of Guests: 244 on October 02, 2015
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready