Cloudflare is a CDN (Content Delivery Network) which speeds up website loading time by serving the files from the server location closest to the user. You can configure Buddy to automatically invalidate Cloudflare’s cache upon every deployment by adding the Cloudflare action at the end of your pipeline:
Buddy is a pipeline delivery automation tool that integrates with Cloudflare and other CDN services. Learn how to seamlessly introduce Buddy to your development workflow.
Setting up Cloudflare integration
To integrate Buddy with Cloudflare open the Integration tab and select Cloudflare from the integrations roster:
Click Set up a new Cloudflare integration:
Once you provide the integration name, there are 2 authorization methods available:
to get the token, go to https://dash.cloudflare.com/profile/api-tokens and click Create token:
once the token is created, select at least the following permissions:
- API Key:
- enter the email address to your Cloudflare account in the Email field
- copy the Global API Key from https://dash.cloudflare.com/profile/api-tokens and paste it in the API Key field:
When ready, click Add a new integration to finish configuration.