I just want to verify if I am understanding this correctly. When the browser receives an HTML page it will
begin parsing the HTML into the DOM, and any style tags into the CSSOM.
upon encountering any resource requests, fire of those requests to the server.
halt parsing of the HTML into DOM when encountering an inline or external
<script>
tag- Exception: If an external script tag contains an async keyword, it will be ran after the HTML has been fully parsed and the DOM fully constructed.
any script, inline or external, will only begin executing after the whole HTML page has been checked for any style info, and that style info has been converted into a CSSOM.
Let me know if there are any additions I should add to these rules.
Alternatively, if you have a good resource for understanding the dependencies and how to optimize them, please share.