Can I set the 'Invalidate' parameter inside a URL? ...
Hi. I've seen methods for setting the Invalidate parameter using PHP, JAVA, etc, but my question is whether the parameter can be set in a URL, to invalidate the CDN cached version of an image.
Thank you.
-
Hi Malcolm,
There isn't a parameter to pass in the URL to invalidate the cache, but you can use the version number that is automatically returned in the API response upon upload to access the latest version of the image if you have overwritten it. Please see the following article on details about asset versions -
https://support.cloudinary.com/hc/en-us/articles/202520912-What-are-image-versions-In addition, when you overwrite an image you should pass the "invalidate" parameter set to True to tell Cloudinary to purge the CDN cache. Are you currently passing this parameter and/or are you seeing any issues with this?
0
Post is closed for comments.
Comments
1 comment