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? ...
hoolio
Cirrostratus
May 17, 2011Hi Trx,
You could use a datagroup of static file types and then check if the HTTP::path ends with one of those file types. Or you could look at the response Content-Type. You could then use HTTP::header to modify the cache headers in the response.
Which LTM version are you going to do this on?
Aaron
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