[原创]网站性能优化利器之一"google page speed"
http://code.google.com/intl/zh-CN/speed/page-speed/
What is Page Speed?Page Speed is an open-source Firefox/Firebug Add-on. Webmasters and web developers can use Page Speed to evaluate the performance of their web pages and to get suggestions on how to improve them. |
|
How does Page Speed work?Page Speed performs several tests on a site's web server configuration and front-end code. These tests are based on a set of best practices known to enhance web page performance. Webmasters who run Page Speed on their pages get a set of scores for each page, as well as helpful suggestions on how to improve its performance. |
|
Why should you use Page Speed?By using Page Speed, you can:
|
google page speed对网站优化建议,可以参考下面所示:
- Enable gzip compression
- Leverage browser caching
- Leverage proxy caching
- Remove unused CSS
- Serve static content from a cookieless domain
- Use efficient CSS selectors
- Minify JavaScript
- Optimize images
- Serve resources from a consistent URL
- Minimize redirects
- Put CSS in the document head
- Minimize cookie size
- Combine external JavaScript
- Minimize DNS lookups
- Optimize the order of styles and scripts
- Avoid CSS expressions
- Combine external CSS
- Defer loading of JavaScript
- Parallelize downloads across hostnames
- Specify image dimensions
类似yahoo yslow,有兴趣的朋友可以参考下!