HTTP Compression & Caching

Hi,

We have multiple web applications running on a single Virtual server with host/domain based pool routing.

For eg:

red.lab.ae

blue.labe.ae

irule:

when HTTP_REQUEST {
switch [string tolower [HTTP::host]] {
red.lab.ae {
pool Red_Pool1 }

green.lab.ae {
pool Green_Pool1 }

}
}

Just want to know if i need to apply HTTP compression & caching only for green.lab.ae, how can i apply in irule.

Check our this : https://community.f5.com/t5/technical-articles/what-is-http-part-viii-compression-and-caching/ta-p/287993/ChoiceADVANTAGE App

This might help : https://community.f5.com/t5/technical-articles/what-is-http-part-viii-compression-and-caching/ta-p/287993/ChoiceADVANTAGE App

Hi,

How to apply HTTP compression & caching under below irule. For eg: if requirement is to apply http compression only for “green.lab.ae”

iRule:

when HTTP_REQUEST {
switch [string tolower [HTTP::host]] {
red.lab.ae {
pool Red_Pool1 }

green.lab.ae {
pool Green_Pool1 }

}
}