Skip to content

Commit

Permalink
Merge pull request #185 from yoavweiss/dns_lookup_connection_reuse
Browse files Browse the repository at this point in the history
Connection reuse does not imply DNS was not required
  • Loading branch information
cvazac committed Dec 19, 2018
2 parents b587ca0 + 78bd09f commit 3e08125
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -531,11 +531,12 @@ <h3>The <dfn>PerformanceResourceTiming</dfn> Interface</h3>
<p data-dfn-for="PerformanceResourceTiming">On getting, the
<dfn>domainLookupStart</dfn> attribute MUST return as follows:</p>
<ol data-link-for="PerformanceResourceTiming">
<li>The same value as <a>fetchStart</a>, if a <a href=
<li>The same value as <a>fetchStart</a>, if no domain lookup was
required to fetch the resources (e.g. if a <a href=
"https://tools.ietf.org/html/RFC7230#section-6.3">persistent
connection</a> [[RFC7230]] is used or the resource is retrieved
from <a data-cite="HTML#relevant-application-cache">relevant
application caches</a> or local resources.</li>
connection</a> [[RFC7230]] was used or in case the resource was
retrieved from <a data-cite="HTML#relevant-application-cache">relevant
application caches</a> or local resources).</li>
<li>The time immediately after the user agent before the domain
data retrieval from the domain information cache, if the user agent
has the domain information in cache.</li>
Expand All @@ -548,15 +549,16 @@ <h3>The <dfn>PerformanceResourceTiming</dfn> Interface</h3>
<p data-dfn-for="PerformanceResourceTiming">On getting, the
<dfn>domainLookupEnd</dfn> attribute MUST return as follows:</p>
<ol data-link-for="PerformanceResourceTiming">
<li>The same value as <a>fetchStart</a>, if a <a data-cite=
"RFC7230#section-6.3">persistent connection</a> [[RFC7230]] is used
or the resource is retrieved from <a data-cite=
"HTML#relevant-application-cache">relevant application caches</a>
or local resources.</li>
<li>The same value as <a>fetchStart</a>, if no domain lookup was
required to fetch the resources (e.g. if a <a href=
"https://tools.ietf.org/html/RFC7230#section-6.3">persistent
connection</a> [[RFC7230]] was used or in case the resource was
retrieved from <a data-cite="HTML#relevant-application-cache">relevant
application caches</a> or local resources).</li>
<li>The time immediately after the user agent ends the domain data
retrieval from the domain information cache, if the user agent has
the domain information in cache.</li>
<li>The time immediately before the user agent finishes the domain
<li>The time immediately after the user agent finishes the domain
name lookup for the resource, if the last non-redirected
<a data-cite="FETCH#concept-fetch">fetch</a> of the resource passes
the <a>timing allow check</a> algorithm.</li>
Expand Down Expand Up @@ -1070,7 +1072,7 @@ <h3>Processing Model</h3>
"https://tools.ietf.org/html/rfc7234">HTTP cache</a> [[RFC7234]],
go to step <a href="#dfn-step-request-start">14</a>.</li>
<li>If no domain lookup is required, go to step <a href=
"#dfn-step-connect-start">12</a>. Otherwise, immediately before a
"#dfn-step-connect-start">14</a>. Otherwise, immediately before a
user agent starts the domain name lookup, record the time as
<a>domainLookupStart</a>.</li>
<li>Record the time as <a>domainLookupEnd</a> immediately after the
Expand Down

0 comments on commit 3e08125

Please sign in to comment.