File tree 1 file changed +20
-1
lines changed
1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 1
1
[DRAFT]
2
2
3
- Changes for Shared Brotli dictionaries to https://fetch.spec.whatwg.org/:
3
+ Introduction:
4
+
5
+ This document is a draft proposal for Shard Brotli dictionaries in the fetch spec
6
+ (https://fetch.spec.whatwg.org/).
7
+
8
+ The goal is to add support for custom dictionaries for Brotli. A dictionary is used
9
+ to improve compression. A client can download a dictionary from a server and then
10
+ use it to decompress resources compressed with this dictionary.
11
+
12
+ This document specifies how the client and server negotiate the dictionary over HTTP.
13
+ A high level overview is as follows: The server adds an HTTP header to the response
14
+ with a URL of the dictionary. The browser downloads the dictionary from the URL and
15
+ then caches it so it can be reused. The server also adds a checksum to an HTTP header
16
+ which the client uses to verify the dictionary. Caching, CORS, and other existing
17
+ mechanisms are used. A dictionary can be a pre-made static dictionary, but does not
18
+ have to be, for example a previous page loaded from this server, or an old version
19
+ of a page, can be used as well.
20
+
21
+ Below are changes and additions to add Shared Brotli dictionaries to the fetch spec
22
+ at https://fetch.spec.whatwg.org/:
4
23
5
24
Additions to `4.5. HTTP-network-or-cache fetch`
6
25
You can’t perform that action at this time.
0 commit comments