Purge Cache on Cloudflare

DeployBot can invalidate your Cloudflare cache after each deployment thanks to a new integration, which is currently in Beta. This ensures that Cloudflare servers always have the most recent content.


In the Cloudflare integration we support:

  • Purge everything

How to invalidate Cloudflare cache

  1. First thing would be to enable the Beta features, in the settings menu.
  2. Then, you can add the integration in the Integrations tab, using your API Key:

  1. After that, you will be able to trigger the action on the environment settings (you will also need to select the DNS zone):
Server Environments tab

DeployBot will take care of the rest. After each deployment it will invalidate the entire distribution, making sure that everything it's removed from the cache. Invalidating files ensures that your CDN always serves the latest versions of your files. After the invalidation was initiated by DeployBot you can track its progress in the Cloudflare Console.

Still need help? Contact Us Contact Us