Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.