BFE.dev
buy us
a coffee
Coding- problems
Answer- questions
Design- systems
Enjoy- quizzes
TypeScript- puzzles
Discussanything
buy us
a coffee

119. What is the difference between `async` and `defer` on script tag?

Browser
Is this helpful ?
Share

Common question to be asked, you need to first explain the that default script tag is parser blocking, and then how defer and async comes to rescue.

This article explains pretty well, and this article from google about critical rendering path is worth reading

prevnext
Discuss

relax!