Cache Management
Instant Purge: invalidating cached content in under 150ms

Instant Purge: invalidating cached content in under 150ms

9/25/2024 · Alex Krivit, Tim Kornhammar, Connor Harwood

What this post added

This post details the technical advancements in Cloudflare's cache purge system, specifically focusing on achieving sub-150ms global purge latency for tags, hostnames, and prefixes. It explains the transition from a "lazy purge" mechanism to a new distribution system that leverages Quicksilver for efficient propagation of purge requests across the global network. The post also discusses the challenges of flexible purges (by tags, hostnames, prefixes) and how the new architecture addresses them, including the need to store purge requests beyond maximum eviction age and the storage implications. It highlights the performance improvements and the upcoming expansion of flexible purge options to lower-tier plans.

Read the original post ↗