Re:JavaScript import maps are now supported cross-browser
by CraigJPerry on Wednesday May 03, 2023 @08:31AM
(#35801575)
With HTTP2 would we not use 1 request / stream but with multiplexing to allow a huge number of parallel requests?
[ Parent
| on HN ]
Re:JavaScript import maps are now supported cross-browser
by e1g on Wednesday May 03, 2023 @08:49AM
(#35801771)
HTTP2 improves on that bottleneck but not as much as expected. I'm struggling to find relevant benchmarks now, but anecdotally even on localhost when using a dev pipeline without a bundler (such as Vite), any reasonably complex application takes many seconds to fetch thousands of small JS files.