Skip to main content
Purge All wipes every cached object on a distribution. The next request for any path is a cache miss that goes all the way to your origin.

Use this when

  • You can’t predict which paths changed (mass content migration, root-level config swap).
  • A security incident may have served compromised content from cache.
  • You’re decommissioning a distribution and want a clean slate before final teardown.
For everything else — deploys, single-asset hotfixes, API response invalidation — use Purge by Pattern.

Cost of a Purge All

Every active path becomes a cache miss simultaneously. Your origin will see a traffic spike — capacity-plan before pulling this trigger.
Purge All is global, instant, and irreversible. It will impact P95 latency and origin load until the cache rewarms. Schedule it during low traffic and warn downstream teams.

Console flow

Purge All

Purge All

  1. Open the distribution → Purge tab.
  2. Pick Purge All.
  3. Click Purge.
Execute Purge All

Execute Purge All

Propagates within seconds.

Purge via API

Response:
Poll status:
See the CDN API reference for canonical fields.

Pre-flight checklist

  • Origin can absorb a cold-start traffic spike (autoscale ready or capacity proven).
  • No live deploy in progress.
  • Stakeholders notified (#oncall, #web-platform).
  • Confirmed pattern purge cannot solve the problem.
  • Have a rollback plan if origin fails to handle the spike.

Verify

Recovery

  • Watch Cache hit ratio — it nosedives immediately, recovers as paths warm.
  • Watch origin error rate. If origin starts to fail, throttle traffic at your edge or scale up.
  • Don’t trigger another purge while recovery is in flight.

Alternatives