Reduce TTI by one waterfall by inlining the preloader plus a smaller chunk of the bundle-graph #332
Replies: 2 comments 1 reply
-
|
so we already have "preloader-lite" by emitting modulepreload links for the current page, can't we make it embed more links maybe? |
Beta Was this translation helpful? Give feedback.
-
|
From discussion with @wmertens on Discord: I think we should make
For inline to really hurt LCP in a noticeable way it requires all of: Only then can 5-10kb of scripts in add noticeable 100s of ms to LCP. This is probably less than 1% of cases. For example at 50KB/s (typical 3G) 10kb takes 200ms to load, which is quite likely less than the latency for another round-trip for fonts/images/css. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What is it about?
No response
What's the motivation for this proposal?
Problems you are trying to solve:
Goals you are trying to achieve:
Proposed Solution / Feature
What do you propose?
We could chunk the bundle-graph into route-graph(s), loading the current route first and then the future ones based on
<Link prefetch>.Links / References
No response
Beta Was this translation helpful? Give feedback.
All reactions