I'm having an odd error and I don't know where to look to debug it.

I'm using Firefox 3.5.3 (problem exists with IE6 as well), with
Firebug 1.4.3 and mootools 1.2.4 on Win2k.

I send a Json Ajax request (via POST) and get a response within about
200ms (no problem). Then sometimes (not always) there is a delay (big
problem) of a few seconds, then the onComplete function of my Json
request fires and runs for about 95ms (no problem).

Using the Firebug profiler, I can see that the Json request response
is fast, and the profiler shows that the onComplete code runs fast. I
can't see what is causing the delay between receiving the Json Ajax
request and the firing of onComplete.

Before I go through the process of reducing the code to something
simple that I can post here that still exibits the error, I'm
wondering where I can look to discover the cause of the delay since
Firebug profiler shows no Javascript code running during the long
delay between the receipt of the Json request response and the firing
of the onComplete event and it doesn't happen every time, just most of
the time.

Reply via email to