Hacker News new | ask | show | jobs
by GenerocUsername 658 days ago
Cloudflare and other cdn caches are a pretty standard web technology. Literally storing files closer to the client and serving it from hardware specializing in fast static serving
1 comments

Yeah, there's no getting around physics when moving data over a long distance. Even in the absolute best case scenario if you ran a single uninterrupted fiber optic cable half way around the world it would still take about 100ms for light to cross it (fiber isn't quite as fast as the speed of light in a vacuum), and it's only downhill from there with realistic networking and protocol handshakes slowing things down.
You can't get around the laws of physics, but you can control the number of round trips necessary to render your website. With HTTP/3, you can deliver data to a client after just one RTT, and a 200-250 ms time-to-first-byte is still plenty fast for a CRUD app.