Invalidanting urls and accessing previous versions
First I upload an image and get back the secure_url which also includes the version of the image.
If I upload/update that same image then I get back a new versioning (although the public_id remains the same) but if I access the previous image url (the old version) it still shows the old image. I have enabled invalidation for versioning and am sending the invalidate : true when updating the image.
Is this a problem of cache? Shouldn't the invalidation solve that? So that when I access the old version it shows the new image instead of the old one?
Thanks in advance
-
Hi David, thanks for reaching out!
The described behavior does indeed sound odd. We generally have introduced a new invalidation mechanism, based on keys (as opposed to URL structure), which should solve the described issue.
Could you kindly open a ticket via our support center, so we could have a deeper look, and perhaps try enabling the new mechanism for your account? Be sure to add additional information such as your cloud name and relevant examples.Regards.
0
Post is closed for comments.
Comments
1 comment