3 ms·
The tool should also check if a page uses HTTP2, because for HTTP2 inlining does not give any benefits.
by mixedbit 9y ago
The tool should also check if a page uses HTTP2, because for HTTP2 inlining does not give any benefits.
- paulirish 9y agoNot true. Even in h2, the browser will first parse the HTML to discover the `<link rel=stylesheet>` and it'll then go issue that request. In h2 it'll reuse the TCP connection (which is a win), but you've still got to round trip to start receiving the stylesheet response body. FWIW here's a pretty good analysis that shows even with h2, bundling and inlining still has benefits: https://sgom.es/posts/2017-06-30-ecmascript-module-loading-can-we-unbundle-yet/ https://sgom.es/posts/2017-06-30-ecmascript-module-loading-c...