Thread: Async Attribute
View Single Post
  #1 (permalink)  
Old May 30th, 2017, 09:34 PM
brsastre brsastre is offline
Registered User
Points: 26, Level: 1
Points: 26, Level: 1 Points: 26, Level: 1 Points: 26, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2016
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Async Attribute

An excerpt from Page 18 Third Edition, about Async attribute:

"The purpose of specifying an async script is to indicate that the page need not wait for the script to be downloaded and executed before continuing to load"

I have found a couple of resources/articles that show that the page does need to wait for async scripts to be executed (not downloaded) to continue the parsing:

source 1:
http://www.growingwiththeweb.com/201...ttributes.html

source 2:
https://m.genbetadev.com/javascript/...defer-vs-async

So, does async scripts block the parsing when being executed, or not?

Thanks!
Reply With Quote