0

I need to make sure, via javascript or otherwise, that browsers are getting the latest version of images on my web pages. Currently the images are simple html <img src=""> and I am using the html header to prevent caching: <META HTTP-EQUIV="Pragma" CONTENT="no-cache">. When testing this in Firefox, the images are being cached and even after refreshing despite the page not being cached. The new page sometimes gets the old image. I have not been changing the name of the images in order to retain the same links to the images.

fny
  • 31,255
  • 16
  • 96
  • 127

0 Answers0