ksmatthews Posted December 4, 2008 Share Posted December 4, 2008 Hi there, I am using ajax to call a backend php script that sorts 10,000 records which are then sent back to the web page to replace existing unsorted data. The problem that I have is that as soon is as the sorting starts (ie the php script is running) there is a significant delay and the other controls seem to freeze up. The page has no choice but to wait. For small data sets there is no issue. Is there any way around this ? regards, Steven M Quote Link to comment https://forums.phpfreaks.com/topic/135513-ajax-delays/ Share on other sites More sharing options...
MadTechie Posted December 4, 2008 Share Posted December 4, 2008 Erm .. use smaller amounts of data... if you page "freeze up" then its probably the data being passed back it taking JS a longer time to process.. becareful not to over use AJAX it tends to make the site slower when used for things that should really be done on a reload.. personally if you returning a ton of data then ajax is not the correct way to do it.. when the buzz from the ajax buzz word fade its better to have a solid app than a buzzed out one Quote Link to comment https://forums.phpfreaks.com/topic/135513-ajax-delays/#findComment-705980 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.