Forum Discussion
thagmann_128177
Nimbostratus
Mar 25, 2005Compression 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 utiliz...
bl0ndie_127134
Mar 26, 2005Historic F5 Account
Mr -t, looks like you have found a problem with the Deflate filter. We will try to se what we can do to get this fixed asap, but in the mean time can you give this rule a whirl.
rule gzip {
when HTTP_RESPONSE {
COMPRESS::method prefer gzip
event disable
}
when HTTP_REQUEST {
if {[HTTP::header exist "Accept-Encoding"]} {
HTTP::header replace "Accept-Encoding" "gzip"
event disable
}
}
} Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
