Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upsome description not accurate in the article of 《onload-ondomcontentloaded》 #1842
Comments
|
Please suggest a PR to fix it? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
article
article Link 《onload-ondomcontentloaded》
may not accurate
reason
if a page containers some "defer" script, then it will cost some time to execute the "defer" script after interactive but before DCL.
Reference
https://calendar.perfplanet.com/2012/deciphering-the-critical-rendering-path/
https://html.spec.whatwg.org/multipage/dom.html#current-document-readiness