How to Purge Cache from Cloudflare CDN

  • Posted on August 4, 2022
  • CDN
  • Aaron3ccbe97993907d67a94644beAsked by Aaron

I do have one DO Apps and setup CDN cache already. I did purge cache single url successfully directly from Cloudflare UI before, but failed since today. Anyone can help me?

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
August 4, 2022

Hi there,

Do you get any errors when you try to purge the cache via Cloudflare?

I believe that you can make use of Cache-Control headers per Cloudflare’s guidelines:

Also for Static Site components, we set a Cache-Control header automatically and explicitly purge the CDN cache on each app deployment.