On a page with images of members of a group, the PHP page allows a user to click on their image to replace it. This brings up a form that uploads the new image and stores it.
The problem is the same image file name is used, so the user sees a cached copy of the old image instead of the new one.
I hate to set the whole page to expire immediately because there can be several dozen images and caching is really a big benefit.
Is there a way to get this one image to not use the cached copy?
I can always assign a new file name to the image, but that change will affect several programs, so I'm trying to avoid doing that.
Any tips/tricks appreciated!