Turn on the CDN (and clear its cache)

Serve public files from locations near your visitors, for free. Purge changed files from the portal.

Updated November 17, 2026 · 1 min read · S3 Object Storage: Managing buckets

The CDN keeps copies of your public files in locations around the world, so they load fast everywhere.

Turn it on

  1. Open the bucket's Settings tab.
  2. Under CDN, click Turn CDN on.
  3. 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.

Was this article helpful?

Still need help?

Our team answers every request, usually within a few hours.

Contact Support

We use cookies to enhance your experience, provide live chat support, and analyze site traffic. By clicking "Accept", you consent to our use of cookies.

Cookie Policy
Accept