Forum Discussion
Michael_Mangret
Sep 26, 2006Nimbostratus
no-cache irule
All,
I am trying to include both PRAGMA:NO-CACHE and CACHE-CONTROL:NO-CACHE to the http response from my LTM. Does anyone know how to get me started in writing something like this into an i...
It's as simple as adding headers in the response
when HTTP_RESPONSE {
HTTP::header insert "PRAGMA" "NO-CACHE"
HTTP::header insert "CACHE-CONTROL" "NO-CACHE"
}
For more help with the HTTP::header commands, take a look at the iRules wiki where we document all the methods.
-Joe
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects