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...
Wil_Schultz_101
Nimbostratus
Feb 12, 2007Well, there are two reasons...
Firstly, the minimum size value does not seem to work every time. It works most times, but for unexplained reasons I still see zero length, or close to it, pages that have the "Age: " header that is inserted by the BigIP.
Secondly, the end goal is not to just look for zero length pages. We have some important pages that might be partially cached downstream from the BigIP, which the BigIP sees as okay and caches as well. Then we have a difficult time clearing all the different points. If I can look for certain headers I can use an iRule expire these pages and keep it dynamic.
An example operation might be, 'if content-length > 50' on a page that is known to be 100.
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