I've done hours of research but I can't seem to find an answer to a
very simple problem.
I have a catalog site where a user can upload an image for a certain
product. He/she edits the product by uploading a different image.
The problem is that the image is being cached and it doesn't get
refreshed unless a user manually refreshes his/her browser.
I've tried HTTP headers, Meta tags, htaccess and javascript. How are
you guys doing this? The text of the product (stored in a db) changes
but the image (stored in a directory) doesn't.
I've read of spoofing the url so it's different each time. I rather
not set no-cache to the entire page because it would slow down
searches. I just need the images to be refreshed.