Skip to content

Add support for compression dictionary transport #30533

@pmeenan

Description

@pmeenan

Compression dictionary transport is a HTTP mechanism for negotiating and using compression dictionaries for brotli and zstd-based content encodings. Depending on the use case, it can result in 90%+ smaller payloads than brotli or zstd alone.

It is also being defined in terms of fetch: whatwg/fetch#1854

For deno there are two interesting use cases:
1 - As defined in the spec where a dictionary is configured through the Use-As-Dictionary response header and used transparently for future requests.
2 - Applications may find it useful to explicitly configure a dictionary (that ships with the binary for example) to be used with a given fetch request. In this case, the same Available-Dictionary and Accept-Encoding can be used but it doesn't require that the dictionary be provided over the network.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions