Forum Discussion
Christopher_Boo
Jul 17, 2012Cirrostratus
Is it possible to enable gzip compression for only one node in a pool via irule?
Is it possible to enable gzip compression for only one node in a pool via irule?
Thanks,
Chris
hooleylist
Jul 18, 2012Cirrostratus
Hi Chris,
You can enable compression in the HTTP profile and then use an iRule like this to disable compression for all but the 1.1.1.1 node:
when HTTP_RESPONSE {
if { not [IP::addr [IP::server_addr] equals 1.1.1.1] }{
COMPRESS::disable
}
}
Aaron
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