Forum Discussion

Reji_55951's avatar
Reji_55951
Icon for Nimbostratus rankNimbostratus
Sep 23, 2014

F5 Gzip compression

We have an external VIP (exposed to customer) which is natted to our internal VIP. Gzip compression works when we try accessing from our interval VIP but does not work from external VIP. We tried setting an iRule as below but still Gzip compression is not shown in fiddler.

 

when HTTP_REQUEST { if { [HTTP::host] contains "externalvip" } { HTTP::header replace Host "internalvip" } }

 

when HTTP_RESPONSE { if { [HTTP::header exists Location] }{ HTTP::header replace Location [string map "internalvip externalvip" [HTTP::header Location]] } }

 

Kindly suggest a mechanism for compression to work for our external VIP as well