Cache Rules Across All Regions
Hi! I'm looking to experiment with warming Cloudflare cached pages. In my particular use case, I find it important that the first hit from a user is not cold.
That being said, when I configure a cache rule for a specific set of pages, how does that cached data propogate across Cloudflare datacenters? Does "warming" the cache from location A mean that it'll be cached when it hit the same page from location B?
Thanks!
4 Replies
Your better using tiered cache with cache reserve. The standard cache is per DC so multiple users from the same location might be hitting different DCs. Additionally, items are evicted from cache if they aren't accessed frequently so there is no guarantee as to how long assets are cached in DCs.
hey! yeah i see that makes sense. I came across this blog, and that also explains everything pretty well for me. https://blog.cloudflare.com/introducing-regional-tiered-cache
is enabling this feature free for all users? or is it just enterprise?
The Cloudflare Blog
Reduce latency and increase cache hits with Regional Tiered Cache
Regional Tiered Cache provides an additional layer of caching for Enterprise customers who have a global traffic footprint and want to serve content faster by avoiding network latency when there is a cache miss in a lower-tier, resulting in an upper-tier fetch in a data center located far away.
Free plan gets Tiered Cache and Smart Topology. https://developers.cloudflare.com/cache/how-to/tiered-cache/#availability
Cloudflare Docs
Tiered Cache · Cloudflare Cache (CDN) docs
Tiered Cache uses the size of Cloudflare’s network to reduce requests to customer origins by dramatically increasing cache hit ratios. With data …
gotcha, thank you!!