Document directory
- How do I get started?
- Learn more
[Original] Second powerful tool for website performance optimization "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 morebest 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 specified tional performance group; this group was formed by Yahoo! 'S predictional performance team as a forum for communicating about Web performance. Contact this group for compliance 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 rules:
The following are in English:
- 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 404 S
- Reduce cookie size
- Use cookie-free domains for components
- Avoid Filters
- Do not scale images in HTML
- Make favicon. ICO small and cacheable
If you are interested, you can study it and it is often used in recent work. It is indeed good for website optimization!