且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

当多个用户在网站上注册时,如何提高网站性能

更新时间:2022-04-17 01:16:00

尝试减少数据库中的ping应用程序并仅对代码进行过滤,



如果您有级联下拉菜单,可以使用jquery / json ajax查询来过滤数据




https://www.google.co.in/#q=cascading%20dropdown%20using%20jquery [ ^ ]
try to reduce the database ping in your application and do filtering on code only,

like if you have cascading dropdowns you can use jquery /json ajax query to filter data

use json postback rather than using multiple update panel.

https://www.google.co.in/#q=cascading%20dropdown%20using%20jquery[^]


你可以缓存一些东西,但它会马你的代码更复杂,容易出错。



首先要做的就是抛弃ASP.NET AJAX,它设计得很慢而且设计很糟糕。使用jqery,正如另一个人所说。
You can cache things, but it will make your code more complex and prone to failure.

The first thing to do is throw away ASP.NET AJAX, it is very slow and badly designed. Use jqery, as the other guy said.