Forum Discussion
Wil_Schultz_101
Nimbostratus
Jan 26, 2007Possible to insert header in CACHE_RESPONSE?
I would like to insert a header on cache response so I will quickly know if a page was served from the origin server of from cache. I'm attempting the following:
when CACHE_RESPONSE {
if { [HT...
Wil_Schultz_101
Nimbostratus
Jan 26, 2007So I've tested with the following:
when HTTP_RESPONSE {
HTTP::header insert "Server" "Cache"
}This does indeed add the header, however it keeps it there whether the response has been previously cached or not. In an ideal world it would be grand to not have the header there if the request was not a cached response,
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
