开发者

Jquery .ajax() Good or Bad? [closed]

开发者 https://www.devze.com 2023-02-18 18:38 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its开发者_如何学运维 current for
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its开发者_如何学运维 current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

Was it somehow bad to use ajax in developing a website? I heard several rumors that it has slow response by doing ajax method. Any opinion or suggestion on this?


Well, AJAX certainly isn't going to reply instantly - web requests are not synchronous with the script. But I'm sure that using jQuery's AJAX wrapper functions do not slow down. Of course, you can do speed tests between the natural XMLHTTPRequest & jQuery to be sure, but I doubt there is much of, if any, a difference in response time.

0

精彩评论

暂无评论...
验证码 换一张
取 消