News for hackers. Stuff that matters.
Re:How fast is apple.com? by jaffathecake on Wednesday October 24, 2012 @05:03AM (#4692204)
Nah, have a small inline script that records events and replays them to your full script when it loads.

Or, if something only works with js, don't show it until the scripts have loaded, but let plain content load & render in the meantime.

Re:How fast is apple.com? by padolsey on Wednesday October 24, 2012 @05:20AM (#4692234)
Yeh, both viable solutions. Tbh, I can't think of any other reason to have JS in the HEAD.
Re:How fast is apple.com? by SquareWheel on Wednesday October 24, 2012 @04:14PM (#4694836)
Google Analytics is generally the only JS I put in the head. If some code is absolutely required for the page to work though then it may make sense to put it ahead of the content.