Avatar of Kinderly Wade
Kinderly Wade
Flag for United States of America asked on

resolve the delay with ajax request

Dear experts,

I wish to know if there is away to reduce the delay with ajax request?

here is the scenario:

I have ajax request coded in javascript/jquery which links to a php web page. Php web page will simply show the result in a table format within a designated <div>

Everytime when I load up the page it will send the ajax request that's asking the php page for the result and place the result in to the <div>. Sometimes the result within the <div> will not show up immediately maybe like after few seconds, the result will show.

Is there a way for me to reduce the delay time?  Thanks
AJAXJavaScriptjQuery

Avatar of undefined
Last Comment
Dave Baldwin

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Dave Baldwin

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Kinderly Wade

ASKER
Hi Dave,

is there a way for me to check the access time or able to find out the cause with any monitoring system? Will the firebug able to find it?
Dave Baldwin

On a page that uses AJAX, I can see the file access in the Net tab in Firebug.  You need to know the name of the PHP file because that's what it's listed under.  I would expect to see the time vary with each page request.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23