YSlow for Firebug
ページを速くする14のルール - おぎろぐはてなで紹介した“High Performance Web Sites”のスライドなどでも触れられているYSlowというYahoo!社内ツールであったFirefox Addon が一般に公開されました。
これ何かっていうと、インストールすると、Firebugが拡張されて、上のスライドの 14Rules
- Make fewer HTTP requests
- Use a CDN
- Add an Expires header
- Gzip components
- Put CSS at the top
- Move JS to the bottom
- Avoid CSS expressions
- Make JS & CSS external
- Reduce DNS lookups
- Minify JS
- Avoid redirects
- Remove duplicate scripts
- Turn off ETags
- Make Ajax cachable and small
のうち、14番目以外を計測して(14番目は機械的に判断できないので)、スコアを出してくれるツール。AとかDとかグレードで表示されるのがおもしろい。
Steve氏のページで、上記ルールのもたらす効果を見るためのサンプルコードやブログの記事(現時点で一番新しいのはこちら)、講演資料がリンクされています。