diff --git a/source b/source index ec68c40fa23..e26ccf4ee4e 100644 --- a/source +++ b/source @@ -26048,15 +26048,58 @@ document.body.appendChild(wbr); link. This keyword is body-ok.
The prefetch
keyword indicates that preemptively fetching and caching the specified resource is likely to be
- beneficial, as it is highly likely that the user will require this resource for future
- navigations. User agents must implement the processing model of the prefetch
keyword described in Resource Hints.
-
There is no default type for resources given by the prefetch
keyword.
The fetch and process the linked resource algorithm for prefetch
links, given a link
element
+ el, is as follows:
If el's href
attribute's value is the
+ empty string, then return.
Let options be the result of creating link options from el.
Set options's destination to + the empty string.
Let request be the result of creating a + link request given options.
If request is null, then return.
Set request's initiator to
+ "prefetch
".
Let processPrefetchResponse be the following steps given a response response and null, failure, or a + byte sequence bytesOrNull:
+ +If response is a network error, fire an event named error
at el.
Otherwise, fire an event named load
at el.
The user agent should fetch request, with + processResponseConsumeBody set to + processPrefetchResponse. User agents may delay the fetching of request to + prioritize other requests that are necessary for the current document.
The process a link header steps for this type of linked resource are to do + nothing.
preload
"