Re: Updates to Navigation Timing errata

On 5/14/13 1:13 PM, Austin,Daniel wrote:
> Hmmm...while this may be true for the overall page composition/loading process, for any given resource, the steps will occur in this deterministic order, with a DNS resolution step preceding an attempt to establish a TCP, etc.

No.  My point is that they will NOT occur in this order in actual practice.

> It's safe to say that a DNS resolution step will always precede the TCP step etc, even if these steps are performed out of order or speculatively.

In what sense is it safe to say that, then?

> Even 'speculative preconnects' require a DNS resolution step (which may be local, from the system cache or even /etc/hosts).

Well, yes, but the point is that if the local cache entry has expired 
you might start a TCP connection to the IP anyway and in parallel do a 
DNS lookup; when the DNS lookup completes and (common case) confirms 
that the IP has not changed your TCP connect may be all done already and 
you're ready to go.

> If the UA performs speculative lookups for objects not retrieved, say on mouseover(), do these time segments show up in our results, even if the object is never requested?

The spec doesn't say, since it doesn't even consider this situation.


Received on Tuesday, 14 May 2013 17:28:09 UTC