The CDN keeps copies of your public files in locations around the world, so they load fast everywhere.
Turn it on
- Open the bucket's Settings tab.
- Under CDN, click Turn CDN on.
- Use the new address shown there, like
https://my-bucket.fra1.cdn.digitaloceanspaces.com/images/logo.png.
Only public files are served through the CDN. It is free; its traffic counts toward your monthly transfer allowance.
Changed a file?
The CDN may keep the old copy for a while. Under Purge cache, enter the paths (one per line, like images/logo.png), or leave it empty for everything, and click Purge.
Turning it off
Links that use the CDN address stop working. Links to the bucket address keep working. Custom domains on the CDN are not available yet.
