skip to content

In Cloudflare, how does Smart Tiered Cache cut requests to the origin, and what does it change about origin load after a purge?

level: middleimportance: should knowfreq 40%

answer

  1. lower tiers ask, upper tiers fetch
  2. one upper tier per origin
  3. chosen by measured latency
  4. refills come through the upper tier

basics

~20 s

Tiered Cache makes lower-tier data centers ask an upper tier on a miss, and only upper tiers fetch from the origin. Smart Tiered Cache picks the lowest-latency upper tier per origin, so a purged object is refetched about once, not once per data center.

solid answer

~50 s

With **Tiered Cache** on, a data center near the visitor (a **lower tier**) that misses asks an **upper tier** first, and only an upper tier may request the content from the origin. **Smart Tiered Cache**, available on every plan, chooses the **single upper tier with the lowest measured latency** to each origin, so all misses for that origin funnel through one place. After a purge, each lower tier's first miss goes to that upper tier; the origin answers roughly once per object instead of once per data center, which softens the spike that follows a purge everything. Generic Global, Regional and Custom topologies are Enterprise options. Changing origin IPs can reassign the upper tier and raise the `MISS` rate for a while, and anycast cloud origins need a cloud region hint (April 2026) or Smart falls back to Generic.

go deeper

for a junior

Recall the two tiers: lower tiers near visitors ask upper tiers, and only upper tiers fetch from the origin.

for a middle

Explain how Smart Tiered Cache picks one upper tier per origin by latency, which topologies need Enterprise, and why EXPIRED can follow a purge.

for a senior

Anticipate MISS spikes after origin moves, set cloud region hints for anycast cloud origins, and confirm fills with CacheTieredFill instead of disabling tiering.

for a principal

Decide when Smart Tiered Cache is enough and when Regional or Custom topologies, or a persistent tier, justify their cost for the origin's capacity.

## The problem Tiered Cache solves Cloudflare answers visitors from hundreds of data centers. Without tiering, each data center that misses fetches from the **origin** itself, so a newly published match page, or a page just purged, can bring one origin request per data center. **Tiered Cache** divides the data centers into a hierarchy: - **Lower tiers** are the data centers closest to visitors. On a miss they ask an upper tier, not the origin. - **Upper tiers** are the only data centers allowed to request content from the origin. When one misses, it fetches once and serves every lower tier that asks after it. - **Fewer origin connections**: because only a few data centers talk to the origin, the origin also holds far fewer open connections. Tiered Cache applies only to requests that are **eligible for cache when the request arrives**. A request Cloudflare already treats as dynamic goes straight to the origin; and an eligible request can still pass through an upper tier before the origin's response turns out to be uncacheable. ## The topologies | Topology | How the upper tier is chosen | Plans | | --- | --- | --- | | **Smart Tiered Cache** | The single upper tier with the lowest measured latency to each origin | Free, Pro, Business, Enterprise | | **Generic Global Tiered Cache** | Regional pools of upper tiers, picked by a consistent hash of the cache key | Enterprise | | **Regional Tiered Cache** | Adds a regional hub between lower and upper tiers, for Smart or Custom topologies whose upper tiers sit in one or two regions | Enterprise | | **Custom Tiered Cache** | A topology designed with the account team | Enterprise | Smart Tiered Cache needs no configuration: Cloudflare measures latency on requests to each origin and picks the best-connected upper tier. With Load Balancing, it picks one upper tier for the whole **pool** rather than per origin. These features are now offered as part of **Smart Shield**, Cloudflare's bundle of origin-protection features. ## Turning it on and checking it 1. In the zone's **Caching > Tiered Cache** page, enable Tiered Cache and choose the **Upper Tier Cache** topology; through the API this is a `PATCH` of `/zones/{zone_id}/argo/tiered_caching` with `{"value": "on"}` and of `/zones/{zone_id}/cache/tiered_cache_smart_topology_enable`. 2. If the origin runs on a public cloud provider behind anycast or regional unicast addresses, set a **cloud region hint** under **Tiered Cache > Origin Configuration**, so Smart Tiered Cache picks an upper tier near that cloud region plus a fallback elsewhere. Without a hint, when Smart Tiered Cache cannot locate the origin it falls back to the Generic topology. 3. Confirm with the `CacheTieredFill` field in the HTTP requests log dataset: `true` means the lower tier filled from an upper tier. ## What it changes after a purge A purge removes the object in **every** data center, upper tiers included. What Tiered Cache changes is how the refill reaches the origin: - **Purge by URL or tag on the scores site**: the first visitor in each region misses in a lower tier, the lower tier asks the upper tier, and the upper tier fetches the corrected page from the origin **once**. Every other lower tier is served from the upper tier. After a purge by tag, hostname or prefix the next request may show `EXPIRED` rather than `MISS`, because the lower tier revalidates with its upper tier. - **Purge everything**: every object misses at once. Tiering keeps the origin load to roughly one fetch per object per upper tier, but repopulation also propagates through both tiers, so on a busy site the origin still sees a sharp spike. Cloudflare's own guidance is to prefer a targeted purge. - **Latency**: a request that fills through an upper tier is slower than a lower-tier `HIT`, so a burst of slower requests after a purge is expected, not a fault. ## Traps to know - **Changing origin IPs or DNS records** can reassign the upper tier. The new upper tier starts empty, so the `MISS` rate climbs until it refills; plan origin moves outside peak hours. - **Moving the origin behind anycast** weakens Smart Tiered Cache's latency probing unless you set a cloud region hint. - **Turning Tiered Cache off** to cure slow upper-tier fills sends every lower tier's misses straight to the origin; Cloudflare recommends a topology change instead.

  • Why can moving the origin to new IP addresses briefly raise the MISS rate?
    Smart Tiered Cache chose its upper tier from latency to the old origin. New IPs or DNS records can give it a different upper tier, and that one starts with an empty cache, so lower tiers' misses go through to the origin until it fills. Schedule origin moves away from match-day peaks.
  • How do you tell whether a slow request went through an upper tier?
    Look at the HTTP requests log dataset: `CacheTieredFill` is `true` when the lower tier filled from an upper tier, and `UpperTierColoID` and `OriginResponseDurationMs` show which upper tier and how long the upstream fetch took. A `MISS` or `EXPIRED` with `CacheTieredFill` true is a tiered fill.

Like a chain of regional warehouses: shops near customers order from one assigned regional warehouse, and only that warehouse orders from the factory, so a product recall refills every shop with a single factory shipment per warehouse.

  • With Tiered Cache, any data center that misses fetches from the origin.
  • Smart Tiered Cache requires an Enterprise plan.
  • Purging with Tiered Cache on clears only the lower tiers.
  • Changing origin IPs has no effect on Smart Tiered Cache.
  • Tiered Cache also routes requests that are not eligible for cache.

Assumes Cloudflare as of 2026-10-10: Smart Tiered Cache falls back to the Generic topology when it cannot locate the origin (since August 2025), cloud region hints arrived in April 2026, and tiering is now offered as part of Smart Shield.