Normal, Asynchronous vs Deferred JavaScript Execution

Normal Javascript execution:

HTML parsing paused till script is fetched and executed then resume .

Asynchronous 

HTML parsing continue while script is being fetched but pauses when script is executed.

Defered

Script fetching continues while HTML is parsing but only execute when HTML parsing is completed.

For more details, check this page:  https://bitsofco.de/async-vs-defer/

Leave a Reply

Your email address will not be published. Required fields are marked *