code to force user's browser to retrieve latest image from my server
I need a simple javascript or something to make sure browsers are getting
the latest version of images on my web pages. Currently the images are
simple html and I am using the html header to prevent caching: . The page
is not being cached, but at least in Firefox, the images are being cached
and even after refreshing, the new page sometimes gets the old image. I
have not been changing the name of the images in order to not have to
change the links to the images.
No comments:
Post a Comment