Search squid archive

Squid & HTTP compression

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

 



Hello everyone,

I have a small problem with squid (Squid 2.7.STABLE9).

I'm trying to optimize our IIS6 web portal. I activated HTTP compression
both for static and dynamic content, and this works OK when the browser asks
for content directly to the IIS server ...

BUT, when the browser asks for content thru Squid.
Content is effectively served by IIS but as the Content-Encoding
header is missing, so nor IE or FireFox can handle it !


The output from firebug
1) Direct IIS (page size 6.5 KB)
Cache-Control	private
Date	Tue, 11 Jan 2011 15:55:19 GMT
Content-Type	text/html
Expires	Tue, 11 Jan 2011 15:55:19 GMT
Server	Microsoft-IIS/6.0
Set-Cookie	mId=%2D2; path=/ mKey=; path=/ mName=; path=/ mEmail=;
path=/
Content-Encoding	gzip
Vary	Accept-Encoding
Transfer-Encoding	chunked

2) thru Squid (page size 29KB)
Date	Tue, 11 Jan 2011 15:58:21 GMT
Server	Microsoft-IIS/6.0
Cache-Control	private
Content-Length	30016
Content-Type	text/html
Expires	Tue, 11 Jan 2011 15:58:21 GMT
Age	90
X-Cache	HIT from xxx.xx.xx
X-Cache-Lookup	HIT from xxx.xx.xx
Via	1.1 xxx.xxx.xx:80 (squid)
Connection	keep-alive

Any help would be much appreciated.

Best regards,




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

  Powered by Linux