ajax slowing down page

HelfboffJeots

New Member
I have a webpage with ajax. Ajax HAS to load some data from other website, which takes some time. During that "load" time, my site is not responding well to user input (going to some other page etc). Before anyone yells - yes, I know, it's because of ajax. :)My question is - is there any way to limit ajax bandwidth? Fast website is my priority, loading data in the background is secondary.So, if i have a javascript which calls php (ajax), and then php using cUrl gets some data and returns it back to javascript (actual code is to long to post it here, no one would read it for sure :D) is there any way to prevent that mechanism from blocking my page until it's done?
 
Top