WebPagetest Forums
any relationship between start render and dom content loaded events ? - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: any relationship between start render and dom content loaded events ? (/showthread.php?tid=12803)



any relationship between start render and dom content loaded events ? - wangxi.exe - 02-09-2014 07:58 PM

as I see sometimes "start render" is before "dom content loaded" and sometimes the opposite.

so is there any specification under what circumstances these events are ready to be fired ?

and actually as I observed, different browsers have different behavior....

Thanks!


RE: any relationship between start render and dom content loaded events ? - pmeenan - 02-11-2014 01:41 AM

When a browser chooses to do a layout/render is entirely up to the discretion of the browser and it's implementation (assuming the necessary pieces to do the layout have arrived). Ilya has a great talk on it if you have a few hours to spare: https://plus.google.com/+IlyaGrigorik/posts/iEfnHUs8Pwk