Skip to content

Commit 4778d03

Browse files
autonomeddbeck
andauthored
Add Prefetch, Resource Hints and more Fetch keys (#2418)
Co-authored-by: Daniel D. Beck <[email protected]>
1 parent c5d942d commit 4778d03

17 files changed

+159
-17
lines changed

features/draft/spec/prefetch.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

features/fetch.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ status:
66
compute_from: api.fetch
77
compat_features:
88
- api.Headers
9+
- api.Headers.@@iterator
910
- api.Headers.Headers
1011
- api.Headers.append
1112
- api.Headers.delete
@@ -22,6 +23,7 @@ compat_features:
2223
- api.Request
2324
- api.Request.Request
2425
- api.Request.Request.cross_origin_stripped
26+
- api.Request.Request.init_keepalive_parameter
2527
- api.Request.Request.init_referrer_parameter
2628
- api.Request.Request.request_body_readablestream
2729
- api.Request.Request.response_body_readablestream
@@ -36,6 +38,7 @@ compat_features:
3638
- api.Request.credentials
3739
- api.Request.credentials.default_same-origin
3840
- api.Request.destination
41+
- api.Request.duplex
3942
- api.Request.formData
4043
- api.Request.integrity
4144
- api.Request.isHistoryNavigation

features/fetch.yml.dist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ compat_features:
139139
# firefox_android: "44"
140140
# safari: "10.1"
141141
# safari_ios: "10.3"
142+
- api.Headers.@@iterator
142143
- api.Headers.entries
143144
- api.Headers.keys
144145
- api.Headers.values
@@ -360,6 +361,7 @@ compat_features:
360361
# firefox_android: "133"
361362
# safari: "13"
362363
# safari_ios: "13"
364+
- api.Request.Request.init_keepalive_parameter
363365
- api.Request.keepalive
364366
- api.fetch.init_keepalive_parameter
365367

@@ -451,3 +453,9 @@ compat_features:
451453
# chrome_android: "105"
452454
# edge: "105"
453455
- api.Request.Request.request_body_readablestream
456+
457+
# baseline: false
458+
# support:
459+
# chrome: "131"
460+
# edge: "131"
461+
- api.Request.duplex

features/link-rel-dns-prefetch.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: '<link rel="dns-prefetch">'
2+
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.
3+
spec: https://html.spec.whatwg.org/multipage/links.html#link-type-dns-prefetch
4+
caniuse: link-rel-dns-prefetch
5+
compat_features:
6+
- html.elements.link.rel.dns-prefetch
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Generated from: link-rel-dns-prefetch.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: high
6+
baseline_low_date: ≤2020-01-15
7+
baseline_high_date: ≤2022-07-15
8+
support:
9+
chrome: "46"
10+
chrome_android: "46"
11+
edge: ≤79
12+
firefox: "3"
13+
firefox_android: "4"
14+
safari: "5"
15+
safari_ios: "4.2"
16+
compat_features:
17+
- html.elements.link.rel.dns-prefetch

features/link-rel-expect.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
name: '<link rel="expect">'
2+
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.
3+
spec: https://html.spec.whatwg.org/multipage/links.html#link-type-expect
4+
compat_features:
5+
- html.elements.link.rel.expect

features/link-rel-expect.yml.dist

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Generated from: link-rel-expect.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support:
7+
chrome: "124"
8+
chrome_android: "124"
9+
edge: "124"
10+
compat_features:
11+
- html.elements.link.rel.expect

features/link-rel-preconnect.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
name: '<link rel="preconnect">'
2+
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.
3+
spec: https://html.spec.whatwg.org/multipage/links.html#link-type-preconnect
4+
compat_features:
5+
- html.elements.link.rel.preconnect
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Generated from: link-rel-preconnect.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: high
6+
baseline_low_date: 2020-01-15
7+
baseline_high_date: 2022-07-15
8+
support:
9+
chrome: "46"
10+
chrome_android: "46"
11+
edge: "79"
12+
firefox: "39"
13+
firefox_android: "39"
14+
safari: "11.1"
15+
safari_ios: "11.3"
16+
compat_features:
17+
- html.elements.link.rel.preconnect

features/link-rel-prefetch.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: '<link rel="prefetch">'
2+
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.
3+
spec: https://html.spec.whatwg.org/multipage/links.html#link-type-prefetch
4+
caniuse: link-rel-prefetch
5+
compat_features:
6+
- api.PerformanceResourceTiming.deliveryType.navigational-prefetch
7+
- html.elements.link.rel.prefetch
8+
- http.headers.Sec-Purpose
9+
- http.headers.Sec-Purpose.prefetch

0 commit comments

Comments
 (0)