What exactly is the 'Waiting for response' msg on Firebug's Net tab?

心不动则不痛 提交于 2019-11-30 03:04:12

This article is quite nice about features of firebug : Introduction to Firebug: Net Panel (especially the timeline section)... But it doesn't say much about what "waiting for response" exactly means :-(

Still, the timeline is (quoting) :

  • DNS Lookup - DNS resolution time
  • Connection - elapsed time required to create a TCP connection
  • Queuing - elapsed time spent in a browser queue waiting for a network connection
  • Waiting For Response - waiting for a response from the server
  • Receiving Data - elapsed time required to read entire response from the server (and/or time required to read from cache).
  • DomContentLoaded event - time when DomContentLoad event was fired (since the beginning of the request, can be negative if the request has been started after the event)
  • load event - time when page load event was fired (since the beginning of the request, can be negative if the request has been started after the event)


So, I'm guessing that the "waiting for response" period is the time during which the browser has sent the request to the server, and has not received any response yet : it is "waiting" for some content beginning to arrive :

  • the browser is no longer waiting for the network connection : the request is sent
  • and the browser is not yet reading response from the server.


In the case of a server generating the whole page before beginning sending it to the browser, I suppose the "waiting for response" time would be correspond to :

  • time for the request to travel from the browser to the server
  • plus time for the request to be processed by the server (ie, time to generate the whole page)
  • plus time for the first byte of data traveling from the server to the browser.


Hope this helps :-)

Not sure which version of firebug you use. But in my version(1.6.0) there is also a "sending" time.

Check this post: http://www.softwareishard.com/blog/firebug/firebug-net-panel-timings/ It basically says "waiting" time is the time from the request is sent to server till first byte is received. To me, it sounds to me pretty much equal to the server side processing time.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!