Caching of images and versioned file paths

Comments

1 comment

  • Avatar
    Raya Straus

    Hi Jonah,

    To bypass the CDN completely we recommend using version numbers when serving your URLs.

    Alternatively, when using the API, you can set the invalidate parameter to true while uploading in order to invalidate the image through the CDN. Note that it might take up to an hour for the invalidation to fully propagate through the CDN, while the version component affects immediately. When uploading via the Media-Library the invalidation comes built-in in the request. 

    Please take a look at the following for more information- https://support.cloudinary.com/hc/en-us/articles/202520852-Handling-the-CDN-s-cache-when-updating-a-resource

    0
    Comment actions Permalink

Please sign in to leave a comment.