Forum Discussion
May 17, 2011
cache-control header response
Hello , Is there a way to set to intercept the http header response and set cache-control (i.e. set control-control: private and max-age of 7 days) for ONLY static files specified? ...
Jun 17, 2011
Sorry Aaron. It was syntax error.
This worked:
if { [matchclass [string tolower $uri] equals static_files_TRX] } {
HTTP::header replace "Cache-Control" "private, max-age=99999999999999999"
}
Thanks for you help.
Much Regards,
TRX
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