Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configuring HTTP headers in JBoss + Tomcat Liferay bundle

Status
Not open for further replies.

jonathanhayward

Programmer
Oct 25, 2007
1
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top