您的位置:首页 > 编程语言 > ASP

教你50招提升ASP.NET性能(十八):在处理网站性能问题前,首先验证问题是否出在客户端

2013-07-29 14:16 579 查看
(29)Before tackling any website performance issue, first verify the problem isn’t on the client

招数29:

在处理网站性能问题前,首先验证问题是否出在客户端

Traditionally, many performance problems have been rooted in either the database or application server.
习惯上,许多性能问题要么根植于数据库或者应用服务器。

However, with the proliferation of advanced JavaScript frameworks such as Backbone.js or jQuery, performance problems are increasingly starting to appear on the client.
然而,随着先进的JavaScript框架如Backbone.js或者jQuery,性能问题正越来越多的出现在客户端。

Rather than immediately attempting to diagnose a performance problem on the server, first use a free browser-based tool such as Google Chrome Developer Tools to ensure that the problem isn’t actually occurring on the client.
首选使用一个免费的基于浏览器的工具如Google Chrome Developer Tools来确保这个问题并不是实际发生在客户端,而不是立即试图在服务器上诊断性能问题。

You may just save yourself a lot of time tracking down performance problems on the wrong end of your site.
在错误终止你的站点时候会为自己节省不少时间跟踪性能问题。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐