Hi list,


This question might be asked in the list before, but I can not found any good answer in the archive so please forgive me if i ask a stupid question here.

I am currently building a web site and there are some places that I would like to use image swap (you know, the standard dreamweaver rollover kind of function). However we found that after the page is completely loaded, images in the page does not get cached. As a result, everytime we have a mouseover event, a new image (which could be loaded up before but not cached) is downloaded from the server each time instead of reading from cache, and the performance is really bad.
I am sure it is not the browser setting problem since we have tried out other site with similar functionality and it works completely fine.


I am using Tomcat4.1.18 Only. I try to find a way to config tomcat to specify the http expire header info but with no success. I know in apache there is something like "ExpiresByType" which can set the expire time according to the file type. Is tomcat has something like this?
Are there any better ways other than setting each jsp with response.setDataHeader(...) ?


Best Regards,

Herb



_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



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



Reply via email to