cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP Compression & Caching

Preet_pk
Nimbostratus
Nimbostratus

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.

3 REPLIES 3

Ruby69
Nimbostratus
Nimbostratus

Ruby69
Nimbostratus
Nimbostratus

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 }

}
}