Douglas said:
Put your scripts in external .js files.
That contradicts with rule #1 of your recommendations below. Not every
script has to be put in another resource, forcing another HTTP request.
Put your script tags as close to the </body> as possible.
See
http://developer.yahoo.com/performance/rules.html#js_bottom
There is the `onload' event handler so that this is unnecessary.
Other of those recommendations are even less sound. For example, to minify
script code does not necessarily serve to reduce the length of the script
resource, and it can increase the length of the script resource. But it
serves to make the resulting code less legible, and it introduces the QA
issue that the resulting code is only as good as the minifier because it is
virtually impossible to verify that the minimization was done correctly and
did not change the semantics of the code and did not introduce less
efficient syntax.
PointedEars