adding expires headers for css, js, gifs, jpgs, pngs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

adding expires headers for css, js, gifs, jpgs, pngs

frabjousB
Hello,

Is there a way to set expires headers for resources such as css, js, gifs, jpgs, pngs within ofbiz configuration files? Our current implementation does not use Apache, so the only solution I have found so far is to implement a filter to Tomcat (http://www.tomred.net/tutorials/java/82-java-tomcat-set-expires-headers) and map the filters in web.xml.

If we do implement a tomcat filter, would there be impacts to server-side performance that we should be mindful of?

Thanks in advance!