Async vs Defer - Which Script Attribute is More Efficient When Loading JavaScript?

Async vs Defer - Which Script Tag is More Efficient When Loading JavaScript?

JavaScript is the most popular language in the world. Why? Because its the only well adopted language supported by a Web Browsers that brings dynamics to frontend experience.

Because of that, almost any web application requires from developers to write at least a bit of JavaScript code. While it's not a problem (unless you hate this language 😉), some of us tend to create very complex, frontend heavy applications that load.. well, definitely not fast.

In this article, you'll get familiar with async and defer - two attributes that will speed up your website speed rendering.

Read more...