网页加载速度太慢 [英] Web page getting too slow to load

查看:78
本文介绍了网页加载速度太慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们,

           ;        我们正在使用4层架构(业务,数据访问,WCF服务,演示文稿(带有C#的asp.net))进行网页开发。

                   We are using 4 Tier Architecture(Business,Data Access,WCF service,Presentation(asp.net with C#)) for our web page development.

出于安全考虑,我们使用不同的解决方案每一层,我们开发了4个主页和登录页面模块。

For security purpose we are using different solutions for each layer,We are developed 4 modules with master page and login page.

我们的问题是单页编译加载速度太慢,请给出一些建议来解决这个问题。

Our problem is single page compilation also getting too slow to load,please give some suggestion to solve this problem.

我们正在实施加密,解密,还取决于用户角色页面加载发生,这会影响页面加载吗?

we are implementing Encryption ,Decryption,and also depending on the user role page loading happens,will this affect the page load?

提前致谢

AarthiPalanisamy

AarthiPalanisamy

推荐答案

选中"ViewState"。关闭viewstate会提高性能。还要检查为页面调用数据库连接的次数。您可以启用"跟踪"功能对于一个页面,它将显示Viewstate大小和加载时间,你可以看到导致问题的
是什么。理想情况下,对于网页,性能随着每页数据库连接的增加而下降。

Check "ViewState". Turn off viewstate will increase the performance. Also check how many times you are calling database connection for a page. You can turn on "Trace" for a page and it will show you the Viewstate size and load time and you can see what is causing the problem. Ideally, for a webpage, the performance goes down with the increase in database connection per page.


这篇关于网页加载速度太慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆