[thelist] HTTP Header Resource
Eric Miller
eric at OAKTREE.com
Thu Jan 4 23:12:09 CST 2001
a simple solution that's worked for me is to force a hard reload with
Javascript.
location.reload(true);
will force a server refresh that bypasses cached content.
Eric
-----Original Message-----
From: Marc Weaver
To: thelist at lists.evolt.org
I had this problem a while ago and tried the method you mentioned but
could achieve any success. In the end the way I got round this was using
PHP to place a number on the end of the url like so ...
Generate a number
<? $randid = "time()"; ?>
Call the image like so...
<? echo "<img src=../images/$picture_name?$randid>"; ?>
Hope that helps
Marc
----- Original Message -----
From: Warden, Matt <mwarden at mattwarden.com>
>
> Does anyone have a resource that lists possible headers in HTTP?
Specifically,
> I'm looking for the ones that would stop caching... in other words,
have an
> image re-downloaded every time. This is because the image is
dynamically
> generated and I don't want the same one popping up every time.
More information about the thelist
mailing list