-
Notifications
You must be signed in to change notification settings - Fork 199
Add Prefetch, Resource Hints and more Fetch keys #2418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
46662cf
Add more Fetch/XHR keys
autonome df1132e
Merge branch 'main' into morefetch
autonome 48440e7
regen
autonome 4b3e66f
Merge branch 'main' into more-fetch
autonome 5b9996d
Merge branch 'main' into more-fetch
autonome 3fb2c4f
fixes
autonome 7141680
put keys in home
autonome 76d83f8
regen
autonome c7156a0
update desc
autonome 9d0d570
add resource hints
autonome f0be7f2
Merge branch 'main' into more-fetch
autonome 3af8fc6
update desc
autonome f958095
break out rel types
autonome 2c7aa30
preload
autonome d7ffcd2
compute preload
autonome 1634d2f
Update features/link-rel-dns-prefetch.yml
autonome bf041f7
Update features/link-rel-expect.yml
autonome d4f43e7
Update features/link-rel-preconnect.yml
autonome bf0e9c0
Update features/link-rel-prefetch.yml
autonome ca60086
remove prefetch, merge into link-rel-prefetch
autonome 6c0f4b0
Merge branch 'more-fetch' of https://github.com/autonome/web-features…
autonome d88b788
regen
autonome 88bbd28
Merge branch 'main' into more-fetch
autonome 0563aed
Merge branch 'main' into more-fetch
autonome 3524924
update desc for preload
autonome fc651e5
remove CORP/CORB
autonome a76b902
Merge branch 'main' into more-fetch
autonome 9751402
Update features/link-rel-preload.yml
autonome 7ea7e71
merge
autonome File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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">' | ||
ddbeck marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.