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

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

That makes perfect sense. Thanks Aaron!

Chris