Re: Placement of boot script in body vs. head

2012-11-09 Thread Michael Allan
Hi Thomas, body noscript You must have JavaScript enabled blah blah blah /noscript script document.write(div id='loading'Loading… + /div); /script script src=myapp/myapp.nocache.js/script With the first thing you do in the onModuleLoad is

Re: Placement of boot script in body vs. head

2012-11-08 Thread Thomas Broyer
On Thursday, November 8, 2012 3:50:47 AM UTC+1, Michael Allan wrote: Hi Matthew, My understanding is that when the browser sees a script tag, it needs to block until the script resource is available before it can resume parsing and displaying the rest of the page's contents.

Re: Placement of boot script in body vs. head

2012-11-07 Thread Matthew Dempsky
My understanding is that when the browser sees a script tag, it needs to block until the script resource is available before it can resume parsing and displaying the rest of the page's contents. Putting the script tag at the end helps avoid this so the page renders faster. Now that HTML has the

Re: Placement of boot script in body vs. head

2012-11-07 Thread Michael Allan
Hi Matthew, My understanding is that when the browser sees a script tag, it needs to block until the script resource is available before it can resume parsing and displaying the rest of the page's contents. Putting the script tag at the end helps avoid this so the page renders faster. I was