Thread:Talk:ResourceLoader/Version 2 Design Specification/Top-loaded site scripts/reply (7)

My point exactly, I believe we are in agreement here!

If a script does not need a complex jQuery module tree, it should not be loaded in a way that is blocking page-display.

For example, suppose there's a script that enables one to do complex stuff with categorization in the "Categories: "-box on the bottom of the article through ajax queries and jQuery UI dialog boxes. That entire gadget (including all of the jQuery modules) don't have to be loaded before the article is displayed. Ideally this gadget would be seperated into two (or more) modules of which one is loaded in the head (the one that adds a button to the tabbar or whatever), and the rest of the script at the bottom.