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
Thanks Chaika and Brandon. It seems like Cache Reserve could also work for us and might actually be the right fit then. Currently I just extended the cache to 1 hour and will probably work on enabling Cache Reserve next week.