Force Image Cache Refresh Programmatically

The best solution I found, to force the browser cache to refresh for an image, is to modify the image url in the html. Example: I have an image with this url: “/images/mario-profile-photo.jpeg”. Change the url to: “/images/mario-profile-photo.jpeg?updated={DateTime.Now.Ticks}“. So, I lied, sorry! This will make the browser request the image again, because the url is … Continue reading Force Image Cache Refresh Programmatically