Skip to content

Add support for generating raw dictionaries (or update cli docs to be clear about format) #4389

Open
@pmeenan

Description

@pmeenan

Is your feature request related to a problem? Please describe.
A few people I have worked with have run into issues trying to implement dcz content encoding (HTTP compression dictionary transport) because they use the zstd command-line tool to generate the dictionary but dcz requires raw dictionary files. Most recently, here on the Chromium issue tracker.

Describe the solution you'd like
Optimally, the cli would be updated to allow for generating raw-format dictionary files. If that's not practical, updating the docs and cli help output to be clear that the dictionaries are zstd-specific would probably help.

Describe alternatives you've considered
The only other dictionary generator that I'm aware of is the one included in the brotli project's research tools (here. It works great with zstd as well but requires building from source.

Additional context
N/A

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions