[原创]网站性能优化利器之二"Yahoo Yslow"

[原创]网站性能优化利器之二"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?

  1. Install Firebug
  2. Download YSlow
  3. 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 规则:

以下为英文:

  1. Minimize HTTP Requests
  2. Use a Content Delivery Network
  3. Add an Expires or a Cache-Control Header
  4. Gzip Components
  5. Put StyleSheets at the Top
  6. Put Scripts at the Bottom
  7. Avoid CSS Expressions
  8. Make JavaScript and CSS External
  9. Reduce DNS Lookups
  10. Minify JavaScript and CSS
  11. Avoid Redirects
  12. Remove Duplicate Scripts
  13. Configure ETags
  14. Make AJAX Cacheable
  15. Use GET for AJAX Requests
  16. Reduce the Number of DOM Elements
  17. No 404s
  18. Reduce Cookie Size
  19. Use Cookie-Free Domains for Components
  20. Avoid Filters
  21. Do Not Scale Images in HTML
  22. Make favicon.ico Small and Cacheable

 

如果有兴趣可以研究下,最近工作中常用到,确实对网站优化不错!

 

posted @ 2009-07-10 12:30  卖烧烤的鱼  阅读(2845)  评论(0编辑  收藏  举报