Forum Discussion
Swordfish_11740
Nimbostratus
Feb 18, 2013Compression Filtering Using iRules
Hi All,
My company has clients all round the world. Some would benefit from level 9 compression whereas others that are within europe benefit more from level 1 -least compression.
Is there ...
What_Lies_Bene1
Cirrostratus
Feb 18, 2013You can use the whereis Command, details here: https://devcentral.f5.com/wiki/iRules.whereis.ashx. For details of other continent codes, just Google 'ISO continent code'.
Here's an example;
when HTTP_RESPONSE { if { [whereis [IP::client_addr] continent] eq "EU" } { COMPRESS::gzip level 1 } else { COMPRESS::gzip level 6 } }
I'm UK based too so feel free to hook up on Linkedin if you think it might be useful.
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