so to paint a picture, let's say you have Tiered Cache off. A visitor connects to your site and they connect to 4m546 in SJC01. I can't remember if it's the specific metal or its whole parent colo, but that metal/colo will cache the asset.
If someone else connects and they connect to a metal in sjc05, then it won't be a cache hit, it wil pull from origin again.
With Tiered Cache enabled, the upper tier for that region caches too, so if one metal caches something, the upper tier caches it and then every metal in that region can use the cached asset, even if a visitor in that region has never touched your site before. @Rapid
Well, so our main page is using a cached version with data, however, when a user accesses the page it is routing it through a worker that updates the hydration data so basically an html file is cached and then edited by the worker to increase speed. We have around 40k~ unique users a day in the website. We don't update it everyday obviously, but we can always purge specific pages when we do update as part of our CD.
Would you use cache reserve in this case? Is cache reserve a good solution when using purge? how fast is it affected world wide? If I am not gonna use cache reserve, what time would you put in Edge TTL?
Cache hit before enabling it was like 14% (I saw it after enabling so it does add up) for last 24 hours. If I choose 30mins (which has not passed yet) it is already on 60%+.
If the worker is caching a file and then editing it, i feel like it makes sense that it would remain in cache for some time... do those HTML files come up with cf-cache-status HIT?
my gut tells me if a file is being updated frequently, then it's probably being refreshed in cache so frequently that a long TTL doesn't do it any good.
Yeah so because of that my other questions were related to purging cache, when purging cache with Tiered Cache enabled, is it instant or does it have it's drawback because Tiered Cache is enabled
The worker is using the cache api to cache, or it's just using fetch to fetch a cached asset? Just important to know that the cache api in workers is local colo only, no tiered caching or cache reserve