What is meaning of 'Blocking' in Firebug Net Panel?

后端 未结 4 2247
野趣味
野趣味 2020-12-23 17:11

I\'m using Firebug 1.5.2 and while testing a site before production release i can see a huge amount of time consumed by \'Blocking\' parts of the requests.

What exa

4条回答
  •  感动是毒
    2020-12-23 18:14

    Blocking is a term used to describe an event that stops other events or code from processing (within the same thread).

    For example if you use "blocking" sockets then code after the socket request has been made will not be processed until the request is complete (within the same thread).

    Asynchronous activities (non blocking) would simply make the request and let other code run whilst the request happened in the background.

    In your situation it basically means that certain parts of firebug / the browser cannot activate until other parts are complete. I.e. it is waiting for an image to download before downloading more.

提交回复
热议问题