Firefox cache in C #

My ASP site has a function to load images and display the load image as a data grid, but my problem is when we load the image and replace later when it doesn't appear in the data grid without reloading the page. But this problem doesn't. It happened on google chrome.


source to share

1 answer

Your image will most likely be cached in the browser. try either

  • forcing it to have a different url every time it is updated
  • adding the last modified header to your response to the image request, i.e. the time the file was written.


All Articles