minor change
This commit is contained in:
parent
a6017db26f
commit
5189d51cd7
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
In modern websites, scripts are often "heavier" than HTML: their download size is larger, and processing time is also longer.
|
||||
|
||||
When the browser loads HTML and comes across a `<script>...</script>` tag, it can't continue building the DOM. It must execute the script right now. The same happens for external scripts `<script src="..."></script>`: the browser must wait until the script downloads, execute it, and only after process the rest of the page.
|
||||
When the browser loads HTML and comes across a `<script>...</script>` tag, it can't continue building the DOM. It must execute the script right now. The same happens for external scripts `<script src="..."></script>`: the browser must wait for the script to download, execute the downloaded script, and only then can it process the rest of the page.
|
||||
|
||||
That leads to two important issues:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue