Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Two questions regarding the net panel in Firebug

can someone tell me two things about the net panel in firebug?

  1. why is there a 'distance' between the first line and the following ones? what is happening there?
  2. what is the exact meaning of the blue and red lines on the right side?

Any help is REALLY appreciated - thanks a lot in advance...

alt text http://www.walkner.biz/_temp/firebug.png

like image 611
swalkner Avatar asked Apr 09 '09 07:04

swalkner


2 Answers

the blue and red lines mark when the javascript events (DOMContentLoaded and load) are fired.

mozdev-documentation for DOMContentLoaded and load:

Fired on a Window object when a document's DOM content is finished loading, but unlike "load", does not wait until all images are loaded.

like image 155
stefs Avatar answered Sep 22 '22 13:09

stefs


but my question is WHY the second item didn't load until then... shouldn't it start immediately? – swalkner

On my machine, it is nearly sequential. I would contribute the lag to cpu time required to process and render the data.

I would guess the blue line is when the browser starts displaying and the red line is when the layout finished.

like image 27
Unknown Avatar answered Sep 22 '22 13:09

Unknown