We recently developed an application using struts on tomcat.

We have a problem at network round trip end.

This is because even if the included JavaScripts/css/gif/jpeg  files,
are all cached, still it checks for the last modified time with the
web server and makes a round trip.

When I searched for a solution to this problem, I came to know that
HTTP specification provides a way for this, and that is:
to specify the expiers tag in HTTP Header.

But this has to be done against particular MIME types because the
HTTP header applies to the payload only not to the cached
JavaScript/CSS files.

Can someone please tell us how to configuer this in TOMCAT

I have observed over the internet that almost all good sites somehow
have been able to manage to set this expires tag for all cached
files.

Regards
Puneet Agarwal


-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Meet Singles
http://corp.mail.com/lavalife


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to