Forum Discussion
Ian_Stewart_390
Nimbostratus
Jan 05, 2005Compress::Enable
Hi Everyone,
I would like to selectively compress HTTP responses from our server to the client browser. Because of the following IE bugs:
For IE 5.5 : http://support.microsoft.com/default.aspx?scid=kb;en-us;Q313712
For IE 6.0 : http://support.microsoft.com/default.aspx?scid=kb;en-us;Q312496
I want to make the decision based on two factors: the User-Agent header of the request, and the Content-Type of the response. Is that possible to do? How would I write an iRule that connects a HTTP response content type with the HTTP request user-agent that asked for it?
Thanks!
-Ian
- Ian_Stewart_390
Nimbostratus
Here's what I've tried: - John_Pruitt_33Historic F5 AccountAll COMPRESS:: commands are currently broken in 9.0.3 and will exhibit this behavior. We will create a hotfix for this.
- Drew_Garner_111
Nimbostratus
If I am using 9.1 and enable compression, do I have to worry about these - Colin_Walker_12Historic F5 AccountThe two issues that were linked to at the top of this post have to do with browser issues with compression, not the BIG-IP itself.
- unRuleY_95363Historic F5 AccountWe are looking at the best way to work around these potential issues and will post a follow-up.
- Harold_Deadman_
Nimbostratus
I am enabling compression and the problem described here seems to rule out compression of javascript and css for IE 6.0. - John_Shin_10665
Nimbostratus
Set your http profile compress setting to selective and use the following gzip rule. This has addressed our problem by selectively compressing known big files that we serve. - John_Shin_10665
Nimbostratus
BTW, we currenlty use BIG-IP 9.2.3 Build 142.0 - Wil_Schultz_101
Nimbostratus
We don't do a whole lot of compression tweaking, but do use a ton of caching which should translate nearly one2one. I've found that with caching that using CACHE::enable in my irule causes some problems by overriding the caching parms in the profile. You might see more consistent behavior in the long run if you use the profile to compress by default, and write your irules to NOT compress selectively.
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