hello all
i have implemented a servlet where the images are
coming from the database. this means my url will look
normally like this,
mysite.com/servlets/getimage?record_id=123
but now the problem is that the client's browsers do
not cache this. if i try images from a physical disk
from my website in the webserver, then it works well -
both IE and netscape remember the images!!! with
servlets as abvoe, everytime i reload my servlet in my
browser, my servlet calls the database. this is
affecting the performance.
is there anything i can do to achieve this caching?
1. either on the server side - is there any cache
class i can look at?
2. or the client side - i mean some header tags or
anything like that which will tell the browser to
cache the images?
any other ideas also much much appreciated!!!
thanks people/erick
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]