Hacker News new | ask | show | jobs
by EE84M3i 1896 days ago
Ah thanks, I stand corrected. That's what I get for relying on the Google featured snippet for "cloudflare number of POPs" for checking my memory.

What's the origin setup like for cloudflare pages?

1 comments

They have a great breakdown on their blog[1] around the high-level request flow, but Workers run independently in each POP/colo. They aren't "faked" / running in some more centralized location.

Traffic only has to leave the edge if you want to fetch from _your origins_ behind it, but any responses the Worker generates itself are local to that edge POP. Return a static response, inspect/validate a JWT, modify something on the way out of the cache: all close to the user.

Disclaimer: used to work at Cloudflare, still think it's a great product.

[1]: https://blog.cloudflare.com/eliminating-cold-starts-with-clo...

Ah, thanks, yeah I know workers are legit at the edge, but I meant pages specifically, unless pages are somehow implemented on top of workers?