3 ms·
Google Page Speed can be used online now - https://developers.google.com/pagespeed/ https://developers.google.com/pagespeed/. Also wrt the article, http://www.
by pbhjpbhj 15y ago
Google Page Speed can be used online now - https://developers.google.com/pagespeed/ https://developers.google.com/pagespeed/.
Also wrt the article, http://www.scirra.com/blog/74/making-a-fast-website http://www.scirra.com/blog/74/making-a-fast-website, won't naive bottom loading all your JS lead to them being serialised and thus cost you in page load time?
Also if your JS modifies the DOM tree shouldn't it arrive earlier so as to prevent reflows and such?
See eg http://code.google.com/speed/page-speed/docs/rtt.html#PutStylesBeforeScripts http://code.google.com/speed/page-speed/docs/rtt.html#PutSty...
- rimantas 15y ago> Also if your JS modifies the DOM tree shouldn't > it arrive earlier so as to prevent reflows and such? And what will it modify, if DOM has not arrived yet? Javascript on top can block other components from loading, hence the recommendation.