Forum Discussion
Wil_Schultz_101
Nimbostratus
Feb 12, 2007How can I grab an HTTP header on CACHE_REQUEST?
I'm trying to grab [HTTP::header "Content-Length"] to use during CACHE_REQUEST so I can make sure the BigIP does not cache blank pages. I've tried to set a global variable during HTTP::Response and no...
bl0ndie_127134
Feb 12, 2007Historic F5 Account
The logic for calculating the min size is pretty darn simple. If the minimum size is not working then its a bug. Do you have responses that don't have a content length header (just 'Connection: close')? Can you open a support case so that I can peek at the packet captures for the cases where it does not work?
Now if you have a more complicated logic, I suggest that you use CACHE::disable in HTTP_RESPONSE event to prevent the response from being added to the cache in the first place. You will also want to add a 'Cache-Control: no-cache' header to prevent it from being cached down stream.
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