3 ms·
JS modules are great, but the problem isn't the size of the codebase or the bandwidth available, it's the latency, which you AFAIK can't test for in browsers. 5
by janosdebugs 3y ago
JS modules are great, but the problem isn't the size of the codebase or the bandwidth available, it's the latency, which you AFAIK can't test for in browsers. 5 chain-dependent files with 200 ms RTT once around the planet adds a second of load time. Sure, you can add a CDN, but for low traffic websites you'll end up with latency spikes due to cache misses.