How do I force WordPress to show most recent version of images in the media library?

@t31os Thanks for your response. I’m
sure it is just my browser caching the
images. But (I should have specified)
I’m not the only user. I’d prefer not
to have to tell my users to refresh
every time they delete something or
the clunkiness of building in a page
refresh as part of image deletion.

But, that’s just why we have browser caching — to prevent the same image from loading everytime we call it again. The browser sees it as the same image.

You can make a little workaround by calling the image like this:
http://yoursite.com/images/01.jpg?v1 and http://yoursite.com/images/01.jpg?v2 – this would load the same image 2 times.

Leave a Comment