google-chromegoogle-chrome-devtoolsperformance-testingload-time

Chrome network timeline unexplained latency


I have a website that loads roughly after 5s.

When I take a look to the network diagram on Chrome: enter image description here

As you can see, there's this relatively huge time span before favicon.ico is loaded (where nothing seems to happen, not even Content Download) that happens to delay page rendering.

What that might be? What am I doing wrong?


Solution

  • It looks like it's to do with the javascript file which is 2.6mb uncompressed. I'm guessing the browser is processing the javascript before grabbing the favicon.

    If you disable javascript on the page then it loads in under .5 of a second.