Jump to content

ajax delays


ksmatthews

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/135513-ajax-delays/
Share on other sites

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

Link to comment
https://forums.phpfreaks.com/topic/135513-ajax-delays/#findComment-705980
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.