Forum Discussion
thagmann_128177
Mar 25, 2005Nimbostratus
Doh, I spoke too soon. So my rule took and my Connections are being compressed but when I look at Traces the content-encoding is still set as deflate vs. GZIP.
Is my Rule logic off here?
-t
Here is my rule:
===================================
[root@xxxxxx:Active] config b rule force_gzip list
rule force_gzip {
when HTTP_RESPONSE { COMPRESS::method prefer gzip ;event disable }
}
[root@xxxxxx:Active] config
Here is my Virtual:
===================================
[root@xxxxx:Active] config b virtual list
virtual VIP1 {
destination x.x.x.x:http
ip protocol tcp
profile HTTP_compress oneconnect tcp
pool LOGIN12
rule force_gzip
}
[root@xxxxxx:Active] config
Here is my Trace:
===================================
GET / HTTP/1.1
Accept: */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT 5.0)
Host: c.x.x.x
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: MC1=V=2&GUID=xxxxxxx
HTTP/1.1 200 OK
X-Cnection: close
Date: Sat, 26 Mar 2005 00:50:35 GMT
Server: Microsoft-IIS/6.0
P3P:CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo"
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Set-Cookie: CULTURE=en-US; domain=.xxxx.com; expires=Thu, 26-Mar-2015 00:50:35 GMT; path=/
Set-Cookie: mh=MSFT; domain=.xxxx.com; expires=Thu, 26-Mar-2015 00:50:35 GMT; path=/
Set-Cookie: SPEED=N; domain=.xxxx.com; expires=Fri, 08-Apr-2005 23:50:35 GMT; path=/
Cache-Control: no-cache
Pragma: no-cache
Expires: -1
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Content-Encoding: deflate