image version control - overwriting images
Hi Support, we are having ongoing image update problems for some time now. When we want to overwrite an existing image and then return it without using the version number in the url we end up the previous image being returned.
This image is an example: https://res.cloudinary.com/tg4/image/upload/077080.jpg (old image returned) and if we call this url we get the updated image: https://res.cloudinary.com/tg4/image/upload/v1539965858/077080.jpg
We never use the image version number because we don't know it when a call is made from the website. We need image 077080.jpg to be overwritten with the new image. I have invalidated the cache but still get the old image?
Thanks
John
-
Hi John,
I've taken a look at the latest upload for that image, and it seems that the `invalidate` parameter was excluded.
In order to instruct Cloudinary to also perform a CDN invalidation, the `invalidate` parameter should be set to `true` as part of the upload call's options.Regardless, I just manually invalidated this URL for you :)
Please let me know if this works for you?
Thanks,
Itay
Please sign in to leave a comment.
Comments
1 comment