Link to home
Start Free TrialLog in
Avatar of Kinderly Wade
Kinderly WadeFlag 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
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 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?
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.