Is the loading of script tags asynchronous?

I read that multiple script tags will be downloaded in parallel, so since it is asynchronous, why do you need the async attribute? If it"s not asynchronous, why not add an attribute that can eat on time on every script tag, wouldn"t it be faster?

<script async src="a.js"></script>
<script async src="b.js"></script>
<script async src="c.js"></script>
Jul.09,2021

downloads are asynchronous and parsing is Synchronize. Async mainly specifies asynchronous parsing, and can only be used for js files that do not depend on other js files.


downloads are downloaded in parallel (ps: is now provided by browsers, but previous browsers do not support parallel downloads)
async is mainly used to load this part of js asynchronously (that is, to download). If you do not use async or defer, then the download of js will block the parsing of html. For more information on
, please see https://codeshelper.com/q/10.

.
Menu