tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject how to configure Tomcat for leveraging browser caching?
Date Wed, 27 Jun 2012 07:16:59 GMT
Hi , 
     I ran Google's Page Speed( ) on our web app to analyze 
and optimize our web site .

One of the many items under Web Performance Best Practices ( 
) as listed in Page Speed says "To take advantage of the full benefits of 
caching consistently across all browsers, we recommend that you configure 
your web server to explicitly set caching headers and apply them to all 
cacheable static resources, not just a small subset (such as images). 
Cacheable resources include JS and CSS files, image files, and other 
binary object files (media files, PDFs, Flash files, etc.). In general, 
HTML is not static, and shouldn't be considered cacheable."
How do I configure tomcat to achieve the same ? I know it can be done via 
Filters by putting some HTTP headers but can we do it without touching 
code just by configuration ?


Mobile: +919830079545

LabWare LIMS Solutions - Results Count
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message