Purge by URL, file or directory
Invalidate exactly the path that changed instead of dropping the whole cache.
Remove a cached response when published content changes. Select the narrowest purge scope that covers the update and verify the next fetch against the origin.
Version 1 cachedThe origin has a new catalogue. A fresh cached copy can still serve version 1 to visitors.
Cloud CDN supports purge by URL, file or directory, plus prefetch. Use long TTLs on hashed assets and purge HTML or media when the source changes.
Invalidate exactly the path that changed instead of dropping the whole cache.
Warm heroes, depots or HTML before a launch so the first users do not all miss.
A targeted purge leaves other cached objects available to answer requests.
Hashed files rarely need purge. HTML and latest pointers do.
CI and CMS webhooks should call purge for the URLs they change.
Before a campaign or release, prefetch the objects you know will be hot.
Watch hit ratio and origin traffic after purge to ensure the new object is served.
Prefer URL or directory purge. Broad invalidation is a last resort because it creates an origin spike.
Purge is an operational control on the distribution. Validate timing on a test path before you depend on it for a launch.
Purge the source URL so derived variants rebuild on the next request.
Purge the URLs that changed. Saving a draft should not invalidate the public page.