如何验证打开压缩后网站的整体速度是否更快?
我建议我们在 IIS7 上启用动态内容压缩以改善用户体验。质量保证部门希望我证明它实际上更快。我一直在使用Firebug查看在Net设置下生成的加载时间瀑布图,它与页面之间的整体(总)页面加载时间不一致。即有时更快但有时更慢。
动态页面本身总是更快,但现在一些静态未压缩内容似乎更慢。
我想要一个工具(Firefox 插件),它可以将网站的典型工作流程(使用)期间的所有页面加载时间加在一起,并给我一个最终时间数字。然后,我将在启用和禁用动态压缩的情况下使用它,看看总的净效果是什么。有什么建议吗?
I have suggested that we Enable dynamic content compression on IIS7 to improve user experience. The QA department wants me to demonstrate that it is in fact faster. I've been using Firebug to view the load time waterfall chart generated under the Net setting and it is inconsistent with the overall (total) page load time from page to page. i.e. sometimes faster but sometimes slower.
Dynamic pages by themselves are always faster but now some static uncompressed content appears to be slower.
What I would like is a tool (Firefox addin) that can add together all page load times during a typical workflow (usage) of a site and give me a final time figure. I would then use that with dynamic compression enabled and disabled to see what the total net effect is. Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用微软的Fiddler,它与Explorer的交互程度很低,可以很容易地用来生成比较图形。
Firebug 对于很多东西都非常有用,但是对于涉及网络的每种测量,Fiddler 都要好得多,因为它不是检查页面,而是充当本地代理,因此可以更好地检查网络流量。
站点链接:http://www.fiddler2.com/fiddler2/
Use Fiddler from Microsoft, it has a much low level interaction with Explorer and could be easily used to produce comparative graphics.
Firebug is very useful for a lot of stuff, but for every kind of measurement that involves network Fiddler is much better because instead of examining the page it works as a local proxy and so can examine the network traffic much better.
Site link: http://www.fiddler2.com/fiddler2/
Firebug 中的“网络”选项卡为您提供浏览器下载每个项目的时间。还有一个选项可以禁用缓存,以保证准确的计时。我相信默认情况下它会在每次页面加载后清除计时,但可以禁用它。
The Net tab in Firebug gives you timings for every item the browser downloads. There's also an option to disable the cache, to guarantee accurate timings. I believe that by default it will clear the timings after every page load, but that can be disabled.