Compression dictionary transport
March 19, 2025 ยท View on GitHub
The compression dictionary transport specification has moved to the IETF: Compression Dictionary Transport
Changelog
These are the changes that have been made to the specs as it has progressed through various standards organizations and based on developer feedback during browser experiments.
July 2024
- The
dictionarylink relation type was changed tocompression-dictionary. - The
br-dcontent encoding changed todcband a header with the hash of the dictionary was added to the stream. - The
zstd-dcontent encoding changed todczand a header with the hash of the dictionary was added to the stream. - The
Content-Dictionaryheader was eliminated (since the dictionary hash was moved into thedcbanddczresponse stream).
Feb 2023
- The
Sec-Available-Dictionaryrequest header changed toAvailable-Dictionary. - The value of the
Available-Dictionaryrequest header changed to be a Structured Field Byte Sequence (base-64 encoding of the dictionary hash, surrounded by colons) instead of hex-encoded string. - The content encoding string for brotli with a dictionary changed from
sbrtobr-d. - The
matchfield of theUse-As-Dictionaryresponse header is now a URLPattern. - The expiration of the dictionary now uses the cache expiration of the dictionary resource instead of a separate
expires. - The server can provide an
idin theUse-As-Dictionaryresponse header which is echoed in theDictionary-IDrequest header by the client in future requests. - The server needs to send a
Content-Dictionaryresponse header with the hash of the dictionary used when compressing a response with a dictionary (must match theAvailable-Dictionaryfrom the request). match-destwas added to theUse-As-Dictionaryresponse header to allow for matching on fetch destinations (e.g.match-dest=("document" "frame")and have the dictionary only be used for document requests).