Iv’d been looking for this for a while found it once but cant find it agian, in which order does the different things get loaded in the DOM??
like css, html, scripts and so on?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The same order they appear in the page
Deferred loading like :
document.onreadystatechange,window.load,deferattritube ( for script tag) , injected html (async) –won’t .the OP asked about the order they loaded in the dom.
once the browser sees :
he doesnt care if src is 900 mb or 1 k.
this is the order which will be loaded in the dom.
again ( not talking about defere).
http://jsbin.com/uyocaq/2/edit