Edge Caching

I have a question.
How does Edge Caching determine that the content of a website must be cached to a specific server?

Is it done by looking where the GET request are coming from?
If this is the case, I believe if I’m in Brazil and visiting your website for the first time - delay will be there.

Am I right regarding this?

Or website is cached to all sever? But I believe this will be expensive as Cloudflare has a free plan too :grimacing:

Every datacenter server caches independently. So if your visitor is using the GRU datacenter, that’s where your files will be cached for that visitor. First visit will be a MISS because the cache is empty, but later visits will be a HIT because it cached the earlier request. After a while, though, those files will be evicted from the cache for lack of use or expiration.

1 Like