thagmann_128177
Mar 25, 2005Nimbostratus
Compression iRules - GZIP vs. Deflate Preference
F5 DevCentral,
Hi, our understanding is that when doing a Profile that utilizes Compression that BIGIP will prefer the Deflate vs. GZIP method. We would like to have a rule that utilizes GZIP by default.
The current rule we are using to do this is:
===================================
b rule force_gzip '{ when HTTP_RESPONSE { [COMPRESS::method prefer gzip] }}'
which gives us
[rootxxxxxxx:Active] config b rule list
rule force_gzip {
when HTTP_RESPONSE { [COMPRESS::method prefer gzip] }
}
When we then associate this rule with a VIP we get an error.
ERROR in /var/log/ltm
===================================
Mar 25 22:31:03 tmm tmm[702]: 01220001:3: TCL error: Rule force_gzip - invalid command name "" while executing "[COMPRESS:
:method prefer gzip]"
Do you have any ideas what we might be doing wrong?
Thanks,
-t