关于Yahoo!的YSlow

在醉心于Firebug的强大与方便时,突然冒出一个YSlow。本来也没什么,不过一看是Yahoo!的,一帮人就跃跃欲试

YSlow analyzes web pages and tells you why they’re slow based on the rules for high performance web sites. YSlow is a Firefox add-on integrated with the popular Firebug web development tool.

看起来十分的Promising,”Speed up your web pages with YSlow”,而且是”Steve Souders, performance architect at Yahoo!, announced today the public release of YSlow.”

我安装了这个插件不一会就卸载了。没什么用,而且状态栏占一大块地方碍眼……

Yahoo!只不过是把它的”Exceptional Performance : Thirteen Simple Rules for Speeding Up Your Web Site” 这个文档扩展了一下,帮你自动分析网站的性能状况。所以你对YSlow的态度,关键就在于对这个文档的态度了。

Simple rules,确实simple,甚至是废话。Use a CDN,Gzip Components,Make JavaScript and CSS External,Put CSS at the Top,这些不是废话是什么?关于第一条,make fewer requests,它极力推荐开发者把能合并的图片合并起来,用image map或者css来拆分。既然如此小气,为什么不把parallel http request也考虑进去?

公司让我关注一下这个插件,我关注完后把情况报告了。我们的结论是,类似那些“10条途径让你的网站看起来更2”,都是吹毛求疵的东西。如果要优化网站性能,这文档可以供参考,不过千万不要它说什么你就做什么。

起码,你不会看了它就去买个CDN吧:)

This entry was posted on Thursday, August 16th, 2007 at 10:43 am and is filed under Computer. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Comments »

No comments yet.

Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)

Please copy the string qBX6HD to the field below: