diff --git a/index.html b/index.html index 4243d13..e10675e 100644 --- a/index.html +++ b/index.html @@ -4,14 +4,14 @@
Defines the Critical-CH
response header, which servers may use to request a reload
+
Defines the Critical-CH
response header, which servers may use to request a restart
to include critical Client Hints missing in the initial load.
Integrates those concepts with the [HTML] and [FETCH] specifications, @@ -691,14 +741,15 @@
Critical-CH
header to request a reload. The Critical-CH
header itself does not modify the Accept-CH cache.
- A reload will only occur when a hint in the Accept-CH
header is both not in the Accept-CH cache and in the Critical-CH
header. If hints listed in
-the Critical-CH
header are already in the Accept-CH cache no reload is
+then the server can set a Critical-CH
header to request a restart. The Critical-CH
header itself does not modify the Accept-CH cache.
A restart will only occur when a hint in the Accept-CH
header is both not in the Accept-CH cache and in the Critical-CH
header. If hints listed in
+the Critical-CH
header are already in the Accept-CH cache no restart is
needed as they were sent. If hints listed in the Critical-CH
header are not
-in the Accept-CH
header a reload would not result in the hints being included
+in the Accept-CH
header a restart would not result in the hints being included
anyway.
The restart retries the entire navigation (including any prior redirects).
There MAY be multiple Critical-CH
headers per-response and sf-lists can be split across lines as long as each line contains at least one token.
When asked if the user agent should reload page for critical client hints given a settingsObject and response:
+When asked if the user agent should restart loading the page for critical client hints given a settingsObject and response:
Add a new field to navigable:
Critical-CH
boolean, initially false
.
+ Critical-CH
restart time DOMHighResTimeStamp
, initially 0.
+ This records the time the navigation was restarted to ensure required Client Hint
+ headers will be sent.
At populating a session history entry, in step 6 after substep 7 insert the following:
false
.
+ false
.
false
:
+ If navigable’s Critical-CH restart time is 0:
true
.
- Clarify how "Restart the initial navigation (before any redirects)" integrates with the HTML spec. [Issue #154]
+At navigation params, append the following:
+Critical-CH
restart time
+ DOMHighResTimeStamp
used for creating the navigation timing entry for the new Document
.
+ This records the time the navigation was restarted to ensure required Client Hint headers will be sent.
+