## Recommended Posts

##### Share on other sites
I can't remember... is there a Last-Modified header, or similar?

Edit: Apparently, there is. I can't tell you whether using it will make Firefox redownload the image, but you could try it.

John B

##### Share on other sites
I use this:

header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");header("Cache-Control: no-store, no-cache, must-revalidate");header("Cache-Control: post-check=0, pre-check=0", false);header("Pragma: no-cache");

Never failed me so far!

##### Share on other sites
Sander: I've seen that exact listing of headers before, but Firefox still ignores it. I've come up with an even easier solution - what this is is an image of a graph on a page that has the URL rewritten by some JavaScript as you select options in dropdown boxes and option buttons. I just stick &current_timestamp on the end of the URL which "stops" the image from staying in the cache as it is no longer seen as being the same image.

## Create an account

Register a new account

• ### Forum Statistics

• Total Topics
627746
• Total Posts
2978906

• 10
• 10
• 21
• 14
• 14