剛剛瞄到High Performance Web Sites這本書的第17章「Deconstructing 10 Top Sites」用了一個叫「YSlow」的網頁效率分析工具(只有Yahoo、Google擁有A級分),它可以描繪出你的網站究竟是那一個老鼠屎造成緩慢的情形發生,不過你必須使用Firefox來安裝這項工具(目前暫不支援IE),且安裝過程中你必須先安裝「Firebug」plug-in,接著再安裝「YSlow」即可,YSlow一共會幫你分析十三個可能會影響網頁效率的因素,它們分別為:
1. Make Fewer HTTP Requests
2. Use a Content Delivery Network
3. Add an Expires Header
4. Gzip Components
5. Put CSS at the Top
6. Move Scripts to the Bottom
7. Avoid CSS Expressions
8. Make JavaScript and CSS External
9. Reduce DNS Lookups
10. Minify JavaScript
11. Avoid Redirects
12. Remove Duplicate Scripts
13. Configure ETags
而且它還會給你一個YSlow grade(A最好,F最差)來區分好壞,所以這樣的工具應該蠻值得用在做研究上~ BTW, 本Blog很遺憾地只有「D」級分,呵~ 代表還有許多努力的空間嚕~