Recently I tried to make sure that some of the images on my website are not cached by the browser.
I came across several questions like
Preventing Images being cached in the browser
How to prevent browser image caching?
How to prevent browsers from caching an image?
But since a short time the solution that they provided stoped working for me.
I have serveral images on my website but there is only one that I do not want to cache.
I used <img src="/img/img.jpg?1275332" />
Where the number was the current time stamp.
Is there any other way to prevent the browser from caching?
And does any one has an idea why this isn't working (anymore)?
Edit:
The image that I do not want to cache is not a static image.
When a user changes one of his images, only the changed image need to be updated. Thats why I tried to add a timestamp after the changed image.
The application is also a SPA so there wont be any page refresh.