Search squid archive

Question about gzip Content-Encoding of IIS 6.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,all

our squid boxes run very well with gzip Content-encodeing (the source
server is apache v2.2.3) last days, but the trouble come in when we
add a IIS 6.0 server: gzip encode disappear...

   when i visit the pages on the iis 6.0, i see the data is encoding
with gzip,but  when squid get data from iis 6.0, the squid decode the
data( or squid get the uncode data) and send it to the client without
compress,though the page displays without error.

   but all thing is ok when the source server is apache v 2.2.3: gzip
encoding in apache, squid and the client get the compress data.

  what's wrong? is the squid not support iis? or configuration added
is needed?

  thanks.

The header from squid with iis 6.0 parent (there are not lines of
"Content-Encoding gzip" and "Vary Accept-Encoding):

(Status-Line)	HTTP/1.0 200 OK
Accept-Ranges	bytes
Cache-Control	max-age=60
Connection	keep-alive
Content-Length	221686
Content-Location	http://www.mydomain.com/index.htm
Content-Type	text/html
Date	Fri, 06 Apr 2007 04:19:56 GMT
ETag	"12d8eeba278c71:686"
Last-Modified	Fri, 06 Apr 2007 04:19:12 GMT
Server	Microsoft-IIS/6.0
X-Cache	MISS from WT-TJTG-25-7.mydomain.com
X-Powered-By	ASP.NET

This is the correct header:
(Status-Line)	HTTP/1.0 200 OK
Accept-Ranges	bytes
Age	146
Cache-Control	max-age=300
Connection	keep-alive
Content-Encoding	gzip
Content-Length	22047
Content-Type	text/html
Date	Fri, 06 Apr 2007 03:44:28 GMT
Expires	Fri, 06 Apr 2007 03:49:28 GMT
Server	Apache/2.2.3 (Unix)
Vary	Accept-Encoding
X-Cache	HIT from www.mydomain.com
X-Cache	HIT from CT-SHZD-237-49.mydomain.com

--
Best regards
Felix New

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux