Current time: 12-01-2020, 01:11 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Document Complete Metric
10-01-2014, 10:36 PM
Post: #2
RE: Document Complete Metric
(10-01-2014 03:15 AM)satishtamilan Wrote:  As per the definition of Document Complete

Document complete is point where the browser onLoad event fires and is generally when all of the static page content has loaded.

As per the below process flow is it till the load event end?

The equivalent Navigation Timing event is loadEventStart. That said, in the case of something like a javascript redirect (changing window.location), WebPagetest's time will include both navigations while Navigation Timing will only include time from the second page.

Quote:Can we define the document complete as the below?

This is an approximation for when the page becomes fully interactive for the user. This corresponds to when the browser finishes processing the onload event.This is the loadEventEnd attribute of the Navigation Timing specification.

No. What it means depends highly on what the page actually does. For example, in the case of Twitter from a year or so ago, the page was completely blank at onload and the content was all rendered afterward in javascript (they have since moved to server-side rendering so that is no longer the case).

It's also not unusual to have things that are not visible to the user push out the onload time (images below the fold, tracking beacons, etc).

As long as you get rid of "fully interactive for the user" and change it to loadEventStart then it is technically correct.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Document Complete Metric - satishtamilan - 10-01-2014, 03:15 AM
RE: Document Complete Metric - pmeenan - 10-01-2014 10:36 PM
RE: Document Complete Metric - pmeenan - 10-03-2014, 01:51 AM
RE: Document Complete Metric - pmeenan - 10-04-2014, 01:24 AM
RE: Document Complete Metric - pmeenan - 10-07-2014, 12:53 AM

Forum Jump:

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