Developer forum

Forum » Ecommerce - Standard features » GetImage caching - why is user not getting latest image

GetImage caching - why is user not getting latest image

Christian Hansen Nørgaard
Reply

Hi Dynamicweb.

I have a case where a user changed images on a few products but by mistake used an incorrect image. Afterwards she replaced the images with the correct ones (same filename) but she was still seeing the incorrect images on her site. I've suggested her to use ?ClearCache=1, ?refresh=yes, deleting the old images and uploading the new ones instead, and clearing her browsers cache. This only helped partially but some images are still displayed as the incorrect ones.

Is the GetImage.ashx caching 24 hours and based on Last-Modified caching method? I'm not sure I understand how the caching works if the above suggestions do not work enitrely? Do you have any procedure as to how she - and her customers - would be able to see the correct image at once?

The solution version is 8.8.1.23.

Regards,

Christian


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply
This post has been marked as an answer

Hi Christian,

you can try to clear the \Files\cache.net\images folder with cached images.

Regards, Dmitrij

Votes for this answer: 1
 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Christian

We also send out an etag and a header to the browser that the image is alive for some time. So you might need a hard refresh in the browser as well - using ctrl+F5 or a inprivate/incognito window.

BR Nicolai

Votes for this answer: 1
 
Christian Hansen Nørgaard
Reply

Thanks for the answers. :)

 

You must be logged in to post in the forum