51Testing软件测试论坛

标题: [原创]网站性能优化利器"google page speed" [打印本页]

作者: 卖烧烤的鱼    时间: 2009-7-7 17:00
标题: [原创]网站性能优化利器"google page speed"
[原创]网站性能优化利器"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:

Make your site faster.
Keep Internet users engaged with your site.
Reduce your bandwidth and hosting costs.
Improve the web!





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,有兴趣的朋友可以参考下!目前正在研究,公司的网站正在优化,改天也整理一个类似httpwatch一样的文档给大家分享下!

[ 本帖最后由 卖烧烤的鱼 于 2009-7-7 17:01 编辑 ]
作者: q789789q    时间: 2009-7-7 17:26
沙发,顶一下,回去学习一下




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2