Difference between Async and defer

Published: 17 December 2022
on channel: Technical Glitch
1,169
51

Async:
(1) It will download the script in background while browser is doing HTML parsing
(2) Once script is ready,it will stop parsing and execute script file.
(3) parse the remaining HTML file.


Defer:
(1) It will download the script in background while browser is doing HTML parsing
(2) Once HTML parsing is done, browser execute script file.


On this page of the site you can watch the video online Difference between Async and defer with a duration of hours minute second in good quality, which was uploaded by the user Technical Glitch 17 December 2022, share the link with friends and acquaintances, this video has already been watched 1,169 times on youtube and it was liked by 51 viewers. Enjoy your viewing!