Skip to content
Preptima
hardScenarioDesignSeniorStaff

How do you execute a global CDN cache invalidation for a critical security patch without melting your origin servers under a thundering herd?

3 min readUpdated 2026-08-15

Answer

Short answer

A cynical look at global cache invalidation, the necessity of origin shielding, and why relying on manual purges is an architectural anti-pattern.

Was this answer helpful?

Likely follow-ups

  • How would you decide, for a given asset class, whether a surrogate-key ban is sufficient or whether you genuinely need a full purge?
  • How does your design change if the compromised asset is embedded inline in thousands of already-cached HTML pages rather than being its own file?
  • An engineer pushes a broken cache-control header that marks a sensitive, personalised response as publicly cacheable at the edge. How do you detect and recover?

Related questions