Roan Kattouw wrote:
Yes, jQuery will be served on every page load. However, the (short) startup script that contains the module registration information and loads the jquery and mediawiki modules checks the browser version for compatibility before doing the latter. Currently the only browser it considers incompatible is IE <6, but this list should probably be extended to include other stone age browsers and mobile browsers. For the latter, we can even do the redirect to the mobile site in that place so we don't load a ton of JS before deciding to redirect people. OTOH, it might be nice to put a mobile redirect script in the <head> so the browser doesn't have to render the entire page before it hits the redirect script.
Gadgets should be minifiable, too. Perhaps having an update add an standalone flag to the gadgets definitions, and minify everything without it. It would also be nice to be able to specify a filter there on which the is run (Special:Upload, namespace 2...)