Friday, August 2, 2013

a weird file cache issue

If you can change the Web application, then add a parameter to images, like this:


<img src=”path?v=XXXX”/>


where XXXX is for example the current date, or a configuration number that is changed after each update of images, or a random number. This should force the browsers to forget the old images.


No comments:

Post a Comment