Hi ,
I ran Google's Page Speed(
https://developers.google.com/speed/pagespeed/ ) on our web app to analyze
and optimize our web site .
One of the many items under Web Performance Best Practices (
https://developers.google.com/speed/docs/best-practices/caching#LeverageBrowserCaching
) 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 ?
Regards,
Subhrajyoti
Mobile: +919830079545
Mail: [email protected]
Web: www.labware.com
LabWare LIMS Solutions - Results Count