-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Prefetch, Resource Hints and more Fetch keys (#2418)
Co-authored-by: Daniel D. Beck <[email protected]>
- Loading branch information
Showing
17 changed files
with
159 additions
and
17 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
name: '<link rel="dns-prefetch">' | ||
description: The `rel="dns-prefetch"` attribute for the `<link>` HTML element is a hint to the browser that the page or user is likely to request resources from another domain, so the browser should preemptively resolve DNS for the `href` value's domain. | ||
spec: https://html.spec.whatwg.org/multipage/links.html#link-type-dns-prefetch | ||
caniuse: link-rel-dns-prefetch | ||
compat_features: | ||
- html.elements.link.rel.dns-prefetch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Generated from: link-rel-dns-prefetch.yml | ||
# Do not edit this file by hand. Edit the source file instead! | ||
|
||
status: | ||
baseline: high | ||
baseline_low_date: ≤2020-01-15 | ||
baseline_high_date: ≤2022-07-15 | ||
support: | ||
chrome: "46" | ||
chrome_android: "46" | ||
edge: ≤79 | ||
firefox: "3" | ||
firefox_android: "4" | ||
safari: "5" | ||
safari_ios: "4.2" | ||
compat_features: | ||
- html.elements.link.rel.dns-prefetch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
name: '<link rel="expect">' | ||
description: The `rel="expect"` attribute for the `<link>` HTML element is a hint to the browser to block rendering until the element that the `href` value references is connected to the document and fully parsed. | ||
spec: https://html.spec.whatwg.org/multipage/links.html#link-type-expect | ||
compat_features: | ||
- html.elements.link.rel.expect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Generated from: link-rel-expect.yml | ||
# Do not edit this file by hand. Edit the source file instead! | ||
|
||
status: | ||
baseline: false | ||
support: | ||
chrome: "124" | ||
chrome_android: "124" | ||
edge: "124" | ||
compat_features: | ||
- html.elements.link.rel.expect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
name: '<link rel="preconnect">' | ||
description: The `rel="preconnect"` attribute for the `<link>` HTML element is a hint to the browser that the page or user is likely to request resources from another origin, so the browser should preemptively start a connection to the `href` value's origin. | ||
spec: https://html.spec.whatwg.org/multipage/links.html#link-type-preconnect | ||
compat_features: | ||
- html.elements.link.rel.preconnect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Generated from: link-rel-preconnect.yml | ||
# Do not edit this file by hand. Edit the source file instead! | ||
|
||
status: | ||
baseline: high | ||
baseline_low_date: 2020-01-15 | ||
baseline_high_date: 2022-07-15 | ||
support: | ||
chrome: "46" | ||
chrome_android: "46" | ||
edge: "79" | ||
firefox: "39" | ||
firefox_android: "39" | ||
safari: "11.1" | ||
safari_ios: "11.3" | ||
compat_features: | ||
- html.elements.link.rel.preconnect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: '<link rel="prefetch">' | ||
description: The `rel="prefetch"` attribute for the `<link>` HTML element is a hint to the browser that the user is likely to navigate to a resource, so the browser should preemptively fetch and cache the resource. | ||
spec: https://html.spec.whatwg.org/multipage/links.html#link-type-prefetch | ||
caniuse: link-rel-prefetch | ||
compat_features: | ||
- api.PerformanceResourceTiming.deliveryType.navigational-prefetch | ||
- html.elements.link.rel.prefetch | ||
- http.headers.Sec-Purpose | ||
- http.headers.Sec-Purpose.prefetch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: '<link rel="preload">' | ||
description: The `rel="preload"` attribute for the `<link>` HTML element requests resources, such as images or style sheets, that the page needs soon, so the browser may prioritize them for loading before rendering begins. | ||
spec: https://html.spec.whatwg.org/multipage/links.html#link-type-preload | ||
caniuse: link-rel-preload | ||
status: | ||
compute_from: html.elements.link.rel.preload | ||
compat_features: | ||
- html.elements.link.rel.preload | ||
- html.elements.link.rel.preload.as-fetch | ||
- html.elements.link.rel.preload.as-font | ||
- html.elements.link.rel.preload.as-image | ||
- html.elements.link.rel.preload.as-script | ||
- html.elements.link.rel.preload.as-style | ||
- html.elements.link.rel.preload.as-track |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Generated from: link-rel-preload.yml | ||
# Do not edit this file by hand. Edit the source file instead! | ||
|
||
status: | ||
baseline: high | ||
baseline_low_date: 2021-01-26 | ||
baseline_high_date: 2023-07-26 | ||
support: | ||
chrome: "50" | ||
chrome_android: "50" | ||
edge: ≤79 | ||
firefox: "85" | ||
firefox_android: "85" | ||
safari: "11.1" | ||
safari_ios: "11.3" | ||
compat_features: | ||
# ⬇️ Same status as overall feature ⬇️ | ||
# baseline: high | ||
# baseline_low_date: 2021-01-26 | ||
# baseline_high_date: 2023-07-26 | ||
# support: | ||
# chrome: "50" | ||
# chrome_android: "50" | ||
# edge: ≤79 | ||
# firefox: "85" | ||
# firefox_android: "85" | ||
# safari: "11.1" | ||
# safari_ios: "11.3" | ||
- html.elements.link.rel.preload | ||
- html.elements.link.rel.preload.as-fetch | ||
- html.elements.link.rel.preload.as-font | ||
- html.elements.link.rel.preload.as-image | ||
- html.elements.link.rel.preload.as-script | ||
- html.elements.link.rel.preload.as-style | ||
|
||
# baseline: false | ||
# support: | ||
# chrome: "50" | ||
# chrome_android: "50" | ||
# edge: ≤79 | ||
# safari: "11.1" | ||
# safari_ios: "11.3" | ||
- html.elements.link.rel.preload.as-track |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters