How to force Cloudinary to pull the newest version of image from S3?
I set up Cloudinary to pull images from my s3 bucket. While it works fine, in general, it doesn't seem to re-pull the image when I update a version. How can I force Cloudinary to pull the newest version of the image from the bucket when I update the asset on s3? Thanks.
Here is an example:
https://res.cloudinary.com/picpipe/image/upload/w_343,c_limit/capture7/v1123452345/r25q45wrc9_annotated
https://s3-us-west-1.amazonaws.com/capture7-user-uploads/r25q45wrc9_annotated
-
Hi,
I see that you are using an upload mapping. Note that after an image is auto-uploaded (i.e., using an upload mapping) it is an actual image on your Cloudinary account, detached from your origin. Therefore in order to update it, as for any other "regularly" uploaded image, you should explicitly re-upload the image, overwriting the current one, as described here-https://support.cloudinary.com/hc/en-us/articles/202520852-How-can-I-update-an-already-uploaded-image-. Alternatively, you can send a destroy request. In both cases you should either include the version or set invalidate to true.
0
Post is closed for comments.
Comments
1 comment