是ajax慢页 [英] is ajax slower the page

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

问题描述

大家好

我是ajax的新手,将要使用ajax.
听说我们不应该在页面中使用Ajax,因为它会减慢页面的速度.

是吗?
我阅读了Ajax控件的优缺点.没有发现与此相关的任何内容.

Ajax是否会使页面加载事件变慢.

请帮忙

在此先感谢

Hi all

I am new to ajax and going to use ajax.
I heard that we should not use ajax in the page because it will slower the page.

Is it so?
I read the advantages and disadvantages of ajax control.I didn''t find any thing related to this.

Is ajax slower the page load event.

Please help

Thanks in advance

推荐答案

Ajax不会降低您的页面速度.实际上,这将使其加载看起来更快,因为它可以让您在准备好屏幕的某些部分时对其进行绘制,而不必等待整个屏幕在渲染之前完成.

您确实需要小心区分所使用的Ajax类型. ASP.NET具有Ajax版本,jQuery也具有.在较新版本的ASP.NET中,它使用jQuery Ajax.

以下是与您的问题有关的更多信息:

http://forums.asp.net/t/1390408.aspx [
Ajax won''t slow down your page. In fact, it will make it appear to load more quickly because it can allow you to draw portions of the screen when they are ready instead of waiting for the entire screen to be done before rendering.

You do need to be careful to differentiate what type of Ajax you are using. ASP.NET has an Ajax version and so does jQuery. In the newer versions of ASP.NET, it uses the jQuery Ajax.

Here is more information related to your question:

http://forums.asp.net/t/1390408.aspx[^]


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

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