Forum Discussion
33boston_223
Nimbostratus
Jan 15, 2009Gzip compression levels
Hi - New to irules so I was hoping someone could help with what I need to aaccomplish.
We would like to apply a higher compression level to any .aspx requests. How would I go about doi...
Nicolas_Menant
Employee
Jan 15, 2009hi,
you can use the COMPRESS::gzip command to specify the compression level: Click here
so you could try something like this:
when HTTP_REQUEST {
if {[HTTP::path] ends_with ".aspx"} {
COMPRESS::gzip level 5
}
}
I don't recommend to go to 9 since it will use more CPU for not so much more compression
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