The most common cause for this would be that you're making too many requests to the server... i.e. you're doing lots of AJAX requests in the background and they're updating too much at once.
The performance difference between an ordinary page, for example a search box that then displays search results, should be negligable between AJAX and post-back versions - so you can't always blame the AJAX for any speed issue.
An example of AJAX slowing things down would be if you have a page with 100 Labels and each time you made an AJAX request, it had to update them all (even though only one had changed) - it would be the equivalent of building the whole page again as opposed to making an AJAX request to change just one bit of the page.
Hope this helps.
No comments:
Post a Comment