Forum Discussion
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
1 Reply
- What_Lies_Bene1
Cirrostratus
You're iRule won't have any impact on compression. Do you have the correct profile assigned to the external VIP?
FYI, for simple checks like this its much quicker to use the browser built in tools to view the relevant headers: http://packetpushers.net/viewing-http-headers-using-browser-tools/ - Fiddler is overkill for this.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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