try putting a ? at the end of the file name as opposed to the random number.

-----Original Message-----
From: Kumar Sameer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 5:53 AM
To: [EMAIL PROTECTED]
Subject: Re: When does a servlet reloads/recalculates ?


Thanks Mathias ! It seems u have done a lot of reserch on this :))
I am using netscape4.7, and in settingd (edit->preference->advanced->cache,
i have checked 'Document in cache is compared to document on network' to
'Every time'. But still it seems image from cache is being used !!

-----Original Message-----
From: Mathias H�ggren [mailto:[EMAIL PROTECTED]]
Sent: 20 March 2002 11:36
To: [EMAIL PROTECTED]
Subject: SV: When does a servlet reloads/recalculates ?


Well what can I say, browser-caching sucks from a developers point of view.
I worked with this problem a while ago and after several days of
experimenting I came to the conclusion that the only way to guarantee that a
client gets an uncached image is to trick the browser to store it under a
different filename in its cache (done with the random sequence in its URL).

I'm not saying it's the only way to do it, but it's the only solution I came
up with.

Brgds
Mathias

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to