Current time: 12-16-2019, 10:17 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
About DomContentLoadedEvent
05-08-2019, 06:24 AM
Post: #4
RE: About DomContentLoadedEvent
Sure, here: https://www.webpagetest.org/result/19050...view_step1

DOMContentLoaded at 4.1s, start render at 2.2s.

The browser parses the HTML incrementally as it goes through the document and it can render what it has any time after it gets into the <body>. It's not unusual to render before DCL for pages that have blocking scripts towards the end of the document. DCL just means it has completed parsing ALL of the HTML but it has enough to render content a lot earlier.

Often it will choose NOT to render earlier so it doesn't have to do layout/paint multiple times so it tries to be greedy and keep parsing HTML as quickly as it can but if it gets delayed for too long and has something it can potentially render, it will.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
About DomContentLoadedEvent - daisyang - 05-06-2019, 04:07 PM
RE: About DomContentLoadedEvent - pmeenan - 05-06-2019, 10:21 PM
RE: About DomContentLoadedEvent - daisyang - 05-08-2019, 04:16 AM
RE: About DomContentLoadedEvent - pmeenan - 05-08-2019 06:24 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)