This support forum is no longer in use. Please use the Cloudinary Community at https://community.cloudinary.com/ to receive assistance from other members of the community and from Cloudinary's support team. For account-specific questions or if you believe that you've encountered a bug, please contact the Cloudinary team directly via the "submit a request" option on this support site.

Media optimizer cache invalidation not working

Comments

4 comments

  • Avatar
    Temporary Test

    Hi, Z Adlan, i'm had the same issue, but i found a trick into the docs, and is very simple; is it only generate the same Cloudinary url and add a "version", version is only the current time into unix format with a letter "v" before; ex: (v1371750447), is it very important, and works without problem, I hope I've helped you. this is from Cloudinary docs:

    The version component is an optional part of Cloudinary delivery URLs that can be added to bypass the CDN cached version and force delivery of the newest asset.

    Example image delivery URL without version:

    https://res.cloudinary.com/demo/image/upload/sample.jpg

    Example image delivery URL with version:

    https://res.cloudinary.com/demo/image/upload/v1371750447/sample.jpg

    0
    Comment actions Permalink
  • Avatar
    Tia Esguerra

    Hi there, 

    Thanks for reaching out. If you are still having issues, could you please open a support ticket directly and share as many details as possible, including the URL of the image returning a 404. 

    You can open a support ticket here:http://support.cloudinary.com 

    Kind Regards, 

    Tia

    0
    Comment actions Permalink
  • Avatar
    Z Adlan

    Ok it turns out that cache invalidation is not immediate. Takes more than a few minutes after invalidation until the Cloudinary URL is able to return to correct image. Would be nice if the documentation could call this out.

     

    Thanks Temporary Test for your suggestion. However, that solution is for Programmable Media. Here I'm using Media Optimizer where I don't upload anything to Cloudinary.

    0
    Comment actions Permalink
  • Avatar
    Tia Esguerra

    Hi there, 

    I'm glad the issue is sorted. Thank you for your feedback. I will mention this to my Docs team and see if we can make that addition for clarity.

    Kind Regards, 

    Tia

    0
    Comment actions Permalink

Post is closed for comments.