Forum Discussion
Clayton_Wagner_
Nimbostratus
Feb 06, 2013Modify Cache-Control Header
Here is the rule I have so far. But I need it to be something like "max-age > 0"
when HTTP_RESPONSE {
if { [HTTP::header value "Cache-Control"] contains "max-age" } {
...
Arie
Altostratus
Feb 07, 2013Wouldn't the type be "private" rather than the "max-age" being 0?
If not, you can check for the existence of "max-age=0".
Otherwise, "string" is your friend (http://www.tcl.tk/man/tcl8.4/TclCmd/string.htm).
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