p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   BOOK: Professional JavaScript for Web Developers 3rd edition (http://p2p.wrox.com/book-professional-javascript-web-developers-3rd-edition-669/)
-   -   Async Attribute (http://p2p.wrox.com/book-professional-javascript-web-developers-3rd-edition/99533-async-attribute.html)

brsastre May 30th, 2017 09:34 PM

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!


All times are GMT -4. The time now is 11:33 PM.

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.