ARC2 Proxy
Caching Guide

Purging the cache

Invalidate stale entries by exact URL, prefix, substring or whole domain.

When you ship a change that must go live before the cache lifetime expires, purge the affected entries. Four scopes are available so you can be as surgical or as broad as the situation needs:

  • Exact — drop a single URL.
  • Prefix — drop everything under a path (e.g. /blog/).
  • Contains — drop any entry whose URL contains a substring.
  • Whole domain — flush every cached entry for the hostname.
💡Prefer narrow purges
A whole-domain flush forces every subsequent request back to the origin until the cache re-warms. Purge by prefix or exact URL when you can to keep hit ratio high.