黄聪:Google 推出网页加速优化扩展:Page Speed

Google 最近发布了一个 Firefox 的扩展:Page Speed,这个扩展集成在 Firefox 另外一个著名的扩展 Firebug 中形式出现。Page Speed 主要功能是分析网页,给出如何优化页面使得快速被加载的建议。

Page Speed 通过对网站服务配置和前后端代码进行一系列的测试来进行工作的,并且这些测试是基于一系列网页加速优化最佳实践,所以它给出的建议还是有很大的参考价值 的。当你的安装了 Firebug 和 Page Speed 之后,点击 Page Speed 的标签页,点击性能分析按钮就可以开始对你的网页进行测试。

Page  Speed
Google Page Speed

Page Speed 会给出一些列的建议,并且给出详细的帮助。目前 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 也推出过一个同样的网页加速建议 Firefox 插件:YSlow。现在 Google Chrome 是我主要的浏览器了,不知道什么时候 Google 会针对自己的浏览器推出相应的插件?

转载于:https://www.cnblogs.com/huangcong/archive/2011/03/11/1981110.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值