Forum Discussion
Jeff_C_42204
Nimbostratus
Aug 01, 2007Irule to set expires headers for static conent
Hello Dev Central!
I have an IIS 6.0 server that is not setting the expires header (cache-control is set) which is causing a potential performance issue.
I would like to remedy th...
hoolio
Cirrostratus
Jul 07, 2008Hi Rodrigo,
That's a nice rule. You might consider creating a single class which has the extension and an expiry time. You could then use findclass (Click here) to get the expiry value. This would save you from checking four classes for every request. You might also want to use {-1} instead of -1. TCL can be picky about hyphens.
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
