3 ms·
Anything that has to go through a server is not effectively static. If you live in Tokyo and connect to a website in Oregon, this effectively static could be ~
by re-thc 4y ago
Anything that has to go through a server is not effectively static.
If you live in Tokyo and connect to a website in Oregon, this effectively static could be ~100ms (served by origin) vs actual static that's ~10ms (served by CDN local PoP).
Side note: this is why developers need to care about infrastructure and vice versa. I distinctly dislike the abstract separations as the implementation details always matter.
- aww_dang 4y agoLatency issues for the round trip are a different topic. Static means unchanging. In this context, pre-rendered pages stored in HTML files. CDNs may inject dynamic content into the page or filter the request, but this is a digression.
- eric-burel 4y agoThat's also why you can render user specific content statically, you just need to redirect the user to the right page, for instance using an URL rewrite