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

在处理网站性能问题前,应首先使用免费浏览器工具检查问题是否位于客户端,以避免浪费时间在错误的地方。

(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.
在错误终止你的站点时候会为自己节省不少时间跟踪性能问题。

转载于:https://www.cnblogs.com/JavCof/p/3222846.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值