Non-blocking javascript and css in modern browsers. Is it still needed?
问题 I am playing a little with some non-blocking JavaScript loading. This means I have a small snippet of JavaScript in my head , and load all my external files at runtime. I even took it a little further to load CSS non-blocking. I see the articles I could find are a little outdated, that is why I want to know if this is all still relevant. Now first the scripts, they look like this: <script> (function () { var styles = JSON.parse(myObject.styles); for( name in styles ){ var link = document