3 ms·
Things like resource inlining are an antipattern in an HTTP/2 world. The stylesheet for example should not be inlined; the server should instead push the styles
by chrismorgan 11y ago
Things like resource inlining are an antipattern in an HTTP/2 world. The stylesheet for example should not be inlined; the server should instead push the stylesheet out to the user agent proactively (typically three frames—a PUSH_PROMISE telling the client of the request that is being simulated, then a HEADERS and a DATA frame with the response).
The first time, the browser will receive it approximately as fast as the inlined version; subsequent times, there is no overhead, moreover browsers can load the stylesheet only once rather than needing to load it for every page.