Skip to content

Commit 50be839

Browse files
tunethewebcaugner
andauthored
Add Shared Compression Dictionary features (#26257)
* Add Shared Compression Dictionary HTTP Headers * Restore ztsd accidently removed * Add Accept Encoding too * Versionless specs * Add link rel attribute * Add MDN links * Add Dictionary ID header * Add missing compat wrappers * MDN links * Update MDN links * Typos * Add rel=compression-dictionary * Update html/elements/link.json * Apply suggestions from code review Co-authored-by: Claas Augner <[email protected]> --------- Co-authored-by: Claas Augner <[email protected]>
1 parent 8489525 commit 50be839

7 files changed

+426
-0
lines changed

html/elements/link.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -780,6 +780,43 @@
780780
}
781781
}
782782
},
783+
"compression-dictionary": {
784+
"__compat": {
785+
"description": "rel=compression-dictionary",
786+
"mdn_url": "https://developer.mozilla.org/docs/Web/HTML/Element/link#compression-dictionary",
787+
"spec_url": "https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-compression-dictionary#name-link-relation-registration",
788+
"support": {
789+
"chrome": {
790+
"version_added": "130"
791+
},
792+
"chrome_android": "mirror",
793+
"edge": "mirror",
794+
"firefox": {
795+
"version_added": false,
796+
"impl_url": "https://bugzil.la/1918013"
797+
},
798+
"firefox_android": "mirror",
799+
"ie": {
800+
"version_added": false
801+
},
802+
"oculus": "mirror",
803+
"opera": "mirror",
804+
"opera_android": "mirror",
805+
"safari": {
806+
"version_added": false
807+
},
808+
"safari_ios": "mirror",
809+
"samsunginternet_android": "mirror",
810+
"webview_android": "mirror",
811+
"webview_ios": "mirror"
812+
},
813+
"status": {
814+
"experimental": false,
815+
"standard_track": true,
816+
"deprecated": false
817+
}
818+
}
819+
},
783820
"dns-prefetch": {
784821
"__compat": {
785822
"description": "rel=dns-prefetch",

http/headers/Accept-Encoding.json

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,164 @@
3939
"standard_track": true,
4040
"deprecated": false
4141
}
42+
},
43+
"br": {
44+
"__compat": {
45+
"spec_url": "https://www.rfc-editor.org/rfc/rfc7932#section-13",
46+
"tags": [
47+
"web-features:brotli"
48+
],
49+
"support": {
50+
"chrome": {
51+
"version_added": "50"
52+
},
53+
"chrome_android": {
54+
"version_added": "51"
55+
},
56+
"edge": {
57+
"version_added": "15"
58+
},
59+
"firefox": {
60+
"version_added": "44"
61+
},
62+
"firefox_android": "mirror",
63+
"ie": {
64+
"version_added": false
65+
},
66+
"oculus": "mirror",
67+
"opera": {
68+
"version_added": "36"
69+
},
70+
"opera_android": {
71+
"version_added": false
72+
},
73+
"safari": {
74+
"version_added": "11",
75+
"notes": "Unsupported before macOS 10.13 High Sierra."
76+
},
77+
"safari_ios": {
78+
"version_added": "11"
79+
},
80+
"samsunginternet_android": "mirror",
81+
"webview_android": "mirror",
82+
"webview_ios": "mirror"
83+
},
84+
"status": {
85+
"experimental": false,
86+
"standard_track": true,
87+
"deprecated": false
88+
}
89+
}
90+
},
91+
"dcb": {
92+
"__compat": {
93+
"mdn_url": "https://developer.mozilla.org/docs/Web/HTTP/Headers/Accept-Encoding#dcb",
94+
"spec_url": "https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-compression-dictionary#name-accept-encoding",
95+
"support": {
96+
"chrome": {
97+
"version_added": "130"
98+
},
99+
"chrome_android": "mirror",
100+
"edge": "mirror",
101+
"firefox": {
102+
"version_added": false,
103+
"impl_url": "https://bugzil.la/1917963"
104+
},
105+
"firefox_android": "mirror",
106+
"ie": {
107+
"version_added": false
108+
},
109+
"oculus": "mirror",
110+
"opera": "mirror",
111+
"opera_android": "mirror",
112+
"safari": {
113+
"version_added": false
114+
},
115+
"safari_ios": "mirror",
116+
"samsunginternet_android": "mirror",
117+
"webview_android": "mirror",
118+
"webview_ios": "mirror"
119+
},
120+
"status": {
121+
"experimental": true,
122+
"standard_track": true,
123+
"deprecated": false
124+
}
125+
}
126+
},
127+
"dcz": {
128+
"__compat": {
129+
"mdn_url": "https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Encoding#dcz",
130+
"spec_url": "https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-compression-dictionary#name-content-encoding",
131+
"support": {
132+
"chrome": {
133+
"version_added": "130"
134+
},
135+
"chrome_android": "mirror",
136+
"edge": "mirror",
137+
"firefox": {
138+
"version_added": false,
139+
"impl_url": "https://bugzil.la/1917963"
140+
},
141+
"firefox_android": "mirror",
142+
"ie": {
143+
"version_added": false
144+
},
145+
"oculus": "mirror",
146+
"opera": "mirror",
147+
"opera_android": "mirror",
148+
"safari": {
149+
"version_added": false
150+
},
151+
"safari_ios": "mirror",
152+
"samsunginternet_android": "mirror",
153+
"webview_android": "mirror",
154+
"webview_ios": "mirror"
155+
},
156+
"status": {
157+
"experimental": true,
158+
"standard_track": true,
159+
"deprecated": false
160+
}
161+
}
162+
},
163+
"zstd": {
164+
"__compat": {
165+
"mdn_url": "https://developer.mozilla.org/docs/Web/HTTP/Headers/Accept-Encoding#zstd",
166+
"spec_url": "https://www.rfc-editor.org/rfc/rfc8878#name-content-encoding",
167+
"tags": [
168+
"web-features:zstd"
169+
],
170+
"support": {
171+
"chrome": {
172+
"version_added": "123"
173+
},
174+
"chrome_android": "mirror",
175+
"edge": "mirror",
176+
"firefox": {
177+
"version_added": "126"
178+
},
179+
"firefox_android": "mirror",
180+
"ie": {
181+
"version_added": false
182+
},
183+
"oculus": "mirror",
184+
"opera": "mirror",
185+
"opera_android": "mirror",
186+
"safari": {
187+
"version_added": false
188+
},
189+
"safari_ios": "mirror",
190+
"samsunginternet_android": "mirror",
191+
"webview_android": "mirror",
192+
"webview_ios": "mirror"
193+
},
194+
"status": {
195+
"experimental": false,
196+
"standard_track": true,
197+
"deprecated": false
198+
}
199+
}
42200
}
43201
}
44202
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"http": {
3+
"headers": {
4+
"Available-Dictionary": {
5+
"__compat": {
6+
"spec_url": "https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-compression-dictionary#name-available-dictionary",
7+
"support": {
8+
"chrome": {
9+
"version_added": "130"
10+
},
11+
"chrome_android": "mirror",
12+
"edge": "mirror",
13+
"firefox": {
14+
"version_added": false,
15+
"impl_url": "https://bugzil.la/1917974"
16+
},
17+
"firefox_android": "mirror",
18+
"ie": {
19+
"version_added": false
20+
},
21+
"oculus": "mirror",
22+
"opera": "mirror",
23+
"opera_android": "mirror",
24+
"safari": {
25+
"version_added": false
26+
},
27+
"safari_ios": "mirror",
28+
"samsunginternet_android": "mirror",
29+
"webview_android": "mirror",
30+
"webview_ios": "mirror"
31+
},
32+
"status": {
33+
"experimental": true,
34+
"standard_track": true,
35+
"deprecated": false
36+
}
37+
}
38+
}
39+
}
40+
}
41+
}

http/headers/Content-Encoding.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,78 @@
8888
}
8989
}
9090
},
91+
"dcb": {
92+
"__compat": {
93+
"mdn_url": "https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Encoding#dcb",
94+
"spec_url": "https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-compression-dictionary#name-content-encoding",
95+
"support": {
96+
"chrome": {
97+
"version_added": "130"
98+
},
99+
"chrome_android": "mirror",
100+
"edge": "mirror",
101+
"firefox": {
102+
"version_added": false,
103+
"impl_url": "https://bugzil.la/1917965"
104+
},
105+
"firefox_android": "mirror",
106+
"ie": {
107+
"version_added": false
108+
},
109+
"oculus": "mirror",
110+
"opera": "mirror",
111+
"opera_android": "mirror",
112+
"safari": {
113+
"version_added": false
114+
},
115+
"safari_ios": "mirror",
116+
"samsunginternet_android": "mirror",
117+
"webview_android": "mirror",
118+
"webview_ios": "mirror"
119+
},
120+
"status": {
121+
"experimental": true,
122+
"standard_track": true,
123+
"deprecated": false
124+
}
125+
}
126+
},
127+
"dcz": {
128+
"__compat": {
129+
"mdn_url": "https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Encoding#dcz",
130+
"spec_url": "https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-compression-dictionary#name-content-encoding",
131+
"support": {
132+
"chrome": {
133+
"version_added": "130"
134+
},
135+
"chrome_android": "mirror",
136+
"edge": "mirror",
137+
"firefox": {
138+
"version_added": false,
139+
"impl_url": "https://bugzil.la/1917965"
140+
},
141+
"firefox_android": "mirror",
142+
"ie": {
143+
"version_added": false
144+
},
145+
"oculus": "mirror",
146+
"opera": "mirror",
147+
"opera_android": "mirror",
148+
"safari": {
149+
"version_added": false
150+
},
151+
"safari_ios": "mirror",
152+
"samsunginternet_android": "mirror",
153+
"webview_android": "mirror",
154+
"webview_ios": "mirror"
155+
},
156+
"status": {
157+
"experimental": true,
158+
"standard_track": true,
159+
"deprecated": false
160+
}
161+
}
162+
},
91163
"zstd": {
92164
"__compat": {
93165
"mdn_url": "https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Encoding#zstd",

http/headers/Dictionary-ID.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"http": {
3+
"headers": {
4+
"Dictionary-ID": {
5+
"__compat": {
6+
"spec_url": "https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-compression-dictionary#name-use-as-dictionary",
7+
"support": {
8+
"chrome": {
9+
"version_added": "130"
10+
},
11+
"chrome_android": "mirror",
12+
"edge": "mirror",
13+
"firefox": {
14+
"version_added": false,
15+
"impl_url": "https://bugzil.la/1917979"
16+
},
17+
"firefox_android": "mirror",
18+
"ie": {
19+
"version_added": false
20+
},
21+
"oculus": "mirror",
22+
"opera": "mirror",
23+
"opera_android": "mirror",
24+
"safari": {
25+
"version_added": false
26+
},
27+
"safari_ios": "mirror",
28+
"samsunginternet_android": "mirror",
29+
"webview_android": "mirror",
30+
"webview_ios": "mirror"
31+
},
32+
"status": {
33+
"experimental": true,
34+
"standard_track": true,
35+
"deprecated": false
36+
}
37+
}
38+
}
39+
}
40+
}
41+
}

0 commit comments

Comments
 (0)