CDN invalidation
Content Delivery Networks (CDN) are services that speed up distribution of static and dynamic web content by storing them in data centers around the world and routing the end-user to the location with the lowest access time delay.
The most popular CDN services include AWS CloudFront, Cloudflare, Google Cloud CDN, and DigitalOcean Spaces CDN.
Image loading...CloudFront in AWS action roster
Success
With Buddy, you can optimize the performance of your websites by automatically clearing the cache of your CDN services upon the deployment.
Common use cases
- A new version of the website was uploaded and the cache requires an update
- A bad version of the file was cached and an update needs to be redeployed to the server
- Too many files have been cached and needs purging (although this shouldn't happen if done via a pipeline)
Configuration
Configuration is very easy and requires selecting the integration and the cache to purge:
Image loading...Google CDN action details
Purge mode
The Invalidate tab also lets you specify if you want to purge everything, paths listed in the repository/filesystem changeset, or individual paths specified by the user:
Image loading...Google CDN action details
Warning
Please mind that invalidation requests can be very expensive, so make sure to set a limit in order to protect your budget. If the number of files to invalidate exceeds that limit, we will purge all files in this distribution instead of invalidating every single file.
Last update:
Sep 23, 2024
Sep 23, 2024