Is it possible to tell if there are any ongoing 'GET' requests with javascript?

Posted by Lavabeams on Stack Overflow See other posts from Stack Overflow or by Lavabeams
Published on 2010-11-09T02:30:48Z Indexed on 2013/06/25 16:21 UTC
Read the original article Hit count: 147

Filed under:
|

Is it possible to tell if there are any ongoing 'GET' requests with javascript?

I have a feeling that it is not. Basically I don't want to make a seperate request while the other "more important" requests are going as this one is fairly heavy. So I was curious if it is possible to tell if there are currently 'get' requests going and if so I can tell my function to hold off for this update and do it again in 10-15secs.

Any information etc would be appreciated.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery