以下斜め読んだ内容

pseudo translation of useful posts, book reviews, remarks,etc. twitter: feeddict

Steve Souders『ハイパフォーマンスWebサイト』を読んでる

元Yahoo!今Googleな人が書いた本。原書で。まず

5) Put stylesheets at the top
6) Put scripts at the bottom

を読んだ。

等々について知る上で勉強になる。ルール6で言われてるscript要素の末尾というのは、head要素の末尾(の側)ではなく、の側だった。
ルール6は、いわゆるunobtrusive javascriptに反してる。unobtrusive javascriptは守れたときは則るというスタンスなのかな?
ルール6を守るなら、onloadイベントは不要になる。PPKAjax Workshopのスライドでルール6についてこんな風に書いてる

Besides, when you put your script at the bottom you don't need an onload event handler.
Fundamentos del Web

High Performance Web Sites: Essential Knowledge for Frontend Engineersasin:0596529309

ハイパフォーマンスWebサイト ―高速サイトを実現する14のルール
Steve Souders スティーブ サウダーズ
オライリージャパン
売り上げランキング: 3308
おすすめ度の平均: 4.5
4 簡単なWebサイトの高速化
4 クライアントの表示速度を上がります
5 利用者の視点
5 フロントエンドエンジニアの執念
asin:487311361X