In response to popular demand we have added Cloudflare CDN support to Buddy.

Cloudflare is one of the most popular Content Delivery Networks in the world, along with AWS Cloudfront. In short, it's a global cache: when a user opens the website, the files are served from the closest server location which drastically speeds up the loading time.

Cloudflare server locations
Cloudflare server locations

Integration with Buddy

The main purpose of Buddy's pipelines are deployments. If you use CDN, you can configure Buddy to automatically invalidate Cloudflare's cache upon every deployment: just add the Cloudflare action at the end of your pipeline:

Pipeline with Cloudflare
Pipeline with Cloudflare

In the action details you select the zone that you want to invalidate and decide whether to purge the whole cache or only the files that have been deployed:

Cloudflare action details
Cloudflare action details