Cameron has yet another home-run of an article/study. This time he looks into the optimal place to load JavaScript. The type of JavaScript we’re talking about is stuff that affects the whole page (content or styling). Simon has also looked into this problem.
What I found fairly interesting here was the load times of JavaScript based upon location. IE6 doesn’t like body.onload too much. Unless it’s in relation to an image. But Firefox likes the body.onload. Or rather, on a large page, hates the Content Call. These do not test the addLoadEvent Method of Simons, of which I wish they they did. Because both Content Calls and body.onload methods have their issues (and both will provide that FOUC
Tagged As Javascript
Comments are Open (0)
Posted at 10:53 AM