Asp – How to increase the performance of ajax enabled web site

ajaxasp.net

I had 1/2 web application prepared. I had seen that the performance getting very slow when using the ajax control compare with using javascript but only when that is deployed on the server.

Why is this problem problem arriving when ajax controls used in application, performance sleeps & not opens the pages quickly.

What is the solution for this to improve performance when ajax control use & it deploy on the server.

Regards,
Girish

Best Answer

Yes.

Well, the reason it's slower when you deploy to the server is because the ajax requests now have to go over the entire internet. This is different compared to running locally, when the requests do not go over the internet.

How to speed it up?

  • Make less calls.
  • Return more things per call so you can make less in general
  • Return as little as possible, in a condensed format if possible
  • Consider enabling gzip on your server
  • other such things