Skip to main content



  • Itay Taragano

    Images and transformed images generated and delivered by Cloudinary are already highly optimized, cached the delivered through a fast worldwide CDN (Akamai and CloudFront). Therefore, while CloudFlare is great for optimizing your website, you don't have an advantage of passing your Cloudinary-originated images through CloudFlare, and you will probably lose part of the advantages of Cloudinary's high-end image delivery solutions.

    Therefore, the best way is to make sure that CloudFlare simply passes Cloudinary image URLs as-is. You should be able to do that by modifying CloudFlare's cache policies and defining custom Page Rules (, this way you use Cloudflare for you site but Cloudinary for your images.

  • Ceci Derma

    Thanks Itay,


    I read the link but I want to be sure when setting those rules... let-s say one of my images is here : 

    Should I state the rule like* ??


    Looking forward to your reply


  • Itay Taragano

    Hi Ceci,

    Note that images under "*" are your WordPress'a Media library items.

    Cloudinary images' URLs are under "*".

    You should set a rule which passes "*" URLs as is (in other words, bypass Cloudflare for such URLs).

  • James Dong

    Hi just to follow up on this, Itay I tried your suggestion to add* as a page rule but CloudFlare threw an error saying: "ERROR Your URL should reference the domain '' in some way."

    Any thoughts on how else to do this?


  • Itay Taragano

    Hi James,

    Just checking, can you please try to remove the rule and see if everything works for you?

  • Vladimir Trajkovic

    Hi Ceci,
    I wonder if your issue is solved? I have the same problem that I cannot solve.

  • Itay Taragano

    Hi Vladimir,
    Can you please share some more information regarding the issue you encountered with? If privacy is an issue, please feel free to open a support ticket.


Post is closed for comments.