New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
domLoading entry does not seem to have a purpose in modern browsers #13
Comments
Hmm, interesting.. I think this is worth forwarding to the mailing list. I'd be curious to see if any of the existing RUM vendors track this metric. FWIW, GA does not: http://stackoverflow.com/a/19016616/510112 |
I think the metric is useful to include for the sake of being consistent, as it's one of the
|
@nicjansma consistent with previous implementations? I agree with @toddreifsteck, if the value is all over the map between implementations, and we can't think of any good reason for where or why it would be useful to developers, then we should consider deprecating it. https://html.spec.whatwg.org/multipage/browsers.html#initialise-the-document-object |
@igrigorik I guess I'm saying it'd be strange to include two of the |
This particular readyState state is just an internal state of the user-agent and the start time of this state does not seem to be useful to web site developers for any purpose. Because of this, it is my opinion that we should redefine it as having the same value as responseStart to avoid unnecessary discussions about the meaning of the differences between browsers. The problem I’m attempting to correct is that server providers seem to be trying to reason about the meaning of the difference between domLoading and domInteractive when a more useful time is almost always responseStart and domInteractive. |
@toddreifsteck from experience, changing definitions of existing metrics can (read, will) cause quiet a bit of pain... alerts start firing, people are woken up, etc. As such, redefining the metric doesn't feel like a big improvement: we're still reporting what appears to be a useless metric, but in the process we'd cause even more pain. FWIW, the simplest thing we could do is add a note in the spec that this metric is implementation specific and should probably not be used for anything meaningful. |
How about the following note for domLoading: |
lgtm. |
Lgtm Sent from my Windows Phone From: Ilya Grigorikmailto:notifications@github.com lgtm. — |
Makes sense |
Per @DLehenbauer who investigated this recently using dev tools of various browsers.
Pretend that all of the browsers are reporting the time of the document/parser association for ‘domLoading’ today. If so, the current numbers would mean that:
started.
started.
the response.
Those are all reasonable implementation choices per the current wording of domLoading. It’s also information about the internals of the browser that is of no use to a page author.
Should we consider deprecating this value or are we missing the value of this specific entry?
The text was updated successfully, but these errors were encountered: