Including JavaScripts in <head> may cause needless slowness

Bug #249646 reported by Matthew Paul Thomas
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

According to <http://developer.yahoo.net/blog/archives/2007/07/high_performanc_5.html>, putting JavaScript near the end of the page (just before the </body>) rather than in the <head> may make pages render faster.

We should investigate this technique, perhaps on dogfood.launchpad.net, and see if it is viable for Launchpad.

One possible drawback is that scripts that collapse parts of the page (such as the new bug duplicate section) may not run until the rest of the page has loaded, causing the section to appear and then disappear.

Tags: lp-web
Gary Poster (gary)
Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Māris Fogels (mars)
Curtis Hovey (sinzui)
affects: launchpad-foundations → launchpad-web
Gary Poster (gary)
Changed in launchpad:
assignee: Māris Fogels (mars) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.