What Is The Fastest Way To Load JavaScript
Web Dev Simplified Web Dev Simplified
1.62M subscribers
183,360 views
10K

 Published On Nov 9, 2018

As a project grows the load time of pages will slowly increase. Many people look to the back-end for solutions to this problem, when in reality the way JavaScript is loaded can make a large different in page load speed. In this video I will look at the three ways to load JavaScript, normal script tags, async script tags, and defer script tags. I will cover how each method interacts with page speed, and the pros and cons of each. By the end of this video you will have a strong understanding of the various ways to load JavaScript and will be better equipped to make faster and more responsive pages.

Async Vs Defer Article:
https://blog.webdevsimplified.com/201...

Twitter:
  / devsimplified  

GitHub:
https://github.com/WebDevSimplified

CodePen:
https://codepen.io/WebDevSimplified


#AsyncVsDefer #JavaScript #WebDevelopment

show more

Share/Embed