Welcome! Log In Create A New Profile

Advanced

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:

e.g.
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:1.9.1.5)
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

Response:
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).

Thanks

Dave
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Gzipping xhtml pages

Dave Kennard November 27, 2009 08:32AM

Re: Gzipping xhtml pages

Igor Sysoev November 27, 2009 08:38AM

Re: Gzipping xhtml pages

Dave Kennard November 28, 2009 07:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 215
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready