Why does $.getJSON() block the browser?

前端 未结 4 967
情书的邮戳
情书的邮戳 2021-02-07 22:11

I have a page where I list hardware devices we monitor for customers. Each row displayed also shows the status of the device i.e. whether it\'s running, paused, starting up etc.

4条回答
  •  庸人自扰
    2021-02-07 22:49

    I imagine you're running into browser limitations for handling multiple requests.

    Have you tried using Fiddler and looking at the timeline to see what is blocking?

    This SO question will probably help:

    How many concurrent AJAX (XmlHttpRequest) requests are allowed in popular browsers?

提交回复
热议问题