Very slow display if GET wait too much to receive the page

Very slow display if GET wait too much to receive the page

Hi guys..

I noticed that when I do a GET, if it takes to much time to generate the page that is to be get (i.e. more 0,5 second), it then takes about 5 second to update my DIV. The last 3 second the cursor transform in an hourglass in Firefox. And the delay is there in every browser, although a bit less in Safari.

Any idea why or solution?

p.s. I had the same code written with prototype.js before and it worked. ;-)