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...
bl0ndie_127134
Jan 26, 2007Historic F5 Account
I agree that's a bit of a pia. Are you making the caching decision in HTTP_REQUEST? A lot of folks use data groups to call CACHE::enable of CACHE::disable command to manually enable/disable the cache. If you are also doing that, you could just set a variable as a hint whether or not to add the header on the response. Other wise you will have to get 9.4.
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