|
[原创]网站性能优化利器之二"Yahoo Yslow"
http://developer.yahoo.com/yslow/
Yahoo! YSlow
YSlow analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages. YSlow is a Firefox add-on integrated with the Firebug web development tool. YSlow grades web page based on one of three predefined ruleset or a user-defined ruleset. It offers suggestions for improving the page's performance, summarizes the page's components, displays statistics about the page, and provides tools for performance analysis, including Smush.it™ and JSLint.
How Do I Get Started?
Install Firebug
Download YSlow
Review the YSlow User Guide
Learn More
Best Practices
Click here to learn more about the best practices for making high performance web sites.
Smush.It™
Read more about how the Smush.it™ tool can help optimize web page image files.
Frequently Asked Questions
If you have questions about YSlow, check the frequently asked questions for the product.
Developer Community and Support
YSlow development is discussed in the Exceptional Performance group; this group was formed by Yahoo!'s Exceptional Performance team as a forum for communicating about web performance. Contact this group for assistance with YSlow questions, issues, or technical support.
License Agreement
YSlow's source files are available through Open Source. For more information, refer to YSlow License Agreement.
Yahoo Yslow 规则:
以下为英文:
Minimize HTTP Requests
Use a Content Delivery Network
Add an Expires or a Cache-Control Header
Gzip Components
Put StyleSheets at the Top
Put Scripts at the Bottom
Avoid CSS Expressions
Make JavaScript and CSS External
Reduce DNS Lookups
Minify JavaScript and CSS
Avoid Redirects
Remove Duplicate Scripts
Configure ETags
Make AJAX Cacheable
Use GET for AJAX Requests
Reduce the Number of DOM Elements
No 404s
Reduce Cookie Size
Use Cookie-Free Domains for Components
Avoid Filters
Do Not Scale Images in HTML
Make favicon.ico Small and Cacheable
如果有兴趣可以研究下,最近工作中常用到,确实对网站优化不错!
原文: http://www.cnblogs.com/mayingbao/archive/2009/07/10/1520454.html |
|