My IIS7 is sending back the compressed file as you can see in my first
post. But Squid seems to have decompressed it and sent back the
uncompressed version. Or maybe I should set some options to control this?
Regards,
YX
On 2009年11月19日 16:11, Angelo Höngens wrote:
You can have your IIS7 do static and dynamic compression though, and Squid will pass it.
Extra hoop to jump through (From my internal wiki):
------------------------------------------------------
If you enable compression in IIS7, it won't compress for HTTP/1.0 clients, since encoding support in HTTP/1.0 is flaky. If we use Squid (and squid can handle it), you can force IIS7 to do compression anyway:
c:\Windows\System32\inetsrv\appcmd.exe set config -section:httpCompression -
noCompressionForHttp10:false
c:\Windows\System32\inetsrv\appcmd.exe set config -section:httpCompression -
noCompressionForProxies:false
iisreset
------------------------------------------------------