jonathanhayward
Programmer
I am presently working with a bundle that includes Liferay 4.3.3 running over JBoss + Tomcat 4.2 (download link). I want to get the server to set far-future Expires and Cache-Control HTTP headers for images and JavaScript files, which I can identify either by MIME type or by file extension.
My web.xml appears to specify both Expires and Cache control, but Yslow and page load times both suggest that these files are being downloaded directly from the server and not loaded from cache.
Do you have any suggestions for how I might adjust what I have now so that frequent visitors will load images and external JavaScript files from the cache?
Thank you,
Jonathan Hayward
Jonathan's Corner: A Glimpse into Eastern Orthodox Christianity
My web.xml appears to specify both Expires and Cache control, but Yslow and page load times both suggest that these files are being downloaded directly from the server and not loaded from cache.
Do you have any suggestions for how I might adjust what I have now so that frequent visitors will load images and external JavaScript files from the cache?
Thank you,
Jonathan Hayward
Jonathan's Corner: A Glimpse into Eastern Orthodox Christianity