88 karma · joined Oct 12, 2011 (15y ago) · 5 submissions
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 12y ago · link · parent
If you load large amounts of render blocking JS/CSS in the <head>, the browser must wait for it to finish downloading before it can render content in <body> to the screen.
To deliver a fast experience, keep the amount of JS/CSS needed to render the initial view to a minimum. Ideally, that'd be no JS, and just the CSS needed to style the content in the initial view. Then, once the initial view has rendered, load the JS and additional CSS needed for the rest of the app.