Re:Blink: Intent to Remove: HTTP/2 and gQUIC server push
by aitchnyu on Thursday November 12, 2020 @06:54AM
(#25068841)
Would inlining CSS and JS work on web sites (not apps)? I kinda feel inlined JS will bypass bytecode cache and the parsing costs have to be paid on each page load.
[ Parent
| on HN ]
Re:Blink: Intent to Remove: HTTP/2 and gQUIC server push
by sanxiyn on Thursday November 12, 2020 @07:29AM
(#25069096)
Inlined scripts do get cached, but cache is keyed to document's URL. Go https://v8.dev/blog/code-caching-for-devs and search for "inline".
Re:Blink: Intent to Remove: HTTP/2 and gQUIC server push
by randomtree on Thursday November 12, 2020 @07:26AM
(#25069057)
Yep, inlining only optimizes first page load.
Re:Blink: Intent to Remove: HTTP/2 and gQUIC server push
by earthboundkid on Thursday November 12, 2020 @09:46AM
(#25070407)
The whole point of this discussion is that push only optimizes the first load, and then it pessimizes all subsequent loads. That's why no one adopted it.