教你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.
在错误终止你的站点时候会为自己节省不少时间跟踪性能问题。
招数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.
在错误终止你的站点时候会为自己节省不少时间跟踪性能问题。
相关文章推荐
- 教你50招提升ASP.NET性能(六):为了生动的用户体验,总是在客户端验证
- 教你50招提升ASP.NET性能(十一):避免在调试模式下运行网站
- 教你50招提升ASP.NET性能(七):总是在服务器端执行验证
- 教你50招提升ASP.NET性能(十六):把问题仍给硬件而不是开发人员
- 教你50招提升ASP.NET性能(八):检查你使用了什么客户端脚本
- 教你50招提升ASP.NET性能(十五):解决性能问题时不要低估UI的价值
- 教你50招提升ASP.NET性能(十七):不要认为问题只会从业务层产生
- 教你50招提升ASP.NET性能(二):移除不用的视图引擎
- 教你50招提升ASP.NET性能(五):确保分页是在数据层完成的
- ASP.NET网站性能提升的几个方法
- asp.net mvc 客户端加验证非空验证数据库是否存在验证
- 教你50招提升ASP.NET性能(二十四):ORM小窍门
- 常量,字段,构造方法 调试 ms 源代码 一个C#二维码图片识别的Demo 近期ASP.NET问题汇总及对应的解决办法 c# chart控件柱状图,改变柱子宽度 使用C#创建Windows服务 C#服务端判断客户端socket是否已断开的方法 线程 线程池 Task .NET 单元测试的利剑——模拟框架Moq
- 教你50招提升ASP.NET性能(二十六):对于开发人员的数据库性能技巧
- 教你50招提升ASP.NET性能(九):显式的使用using语句减少内存泄露
- IIS网站或系统验证码不显示问题——"使用了托管的处理程序,但是未安装或未完整安装 ASP.NET"
- 教你50招提升ASP.NET性能(二十一):避免使用会话状态
- 【ASP.NET 问题】IIS发布网站后出现 "处理程序“PageHandlerFactory-Integrated”在其模块列表中有一个错误"的解决办法
- 教你50招提升ASP.NET性能(二十):认识你的循环
- ASP.NET 应用程序级 验证用户是否登录 一般处理程序