Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Zstandard as compression algorithm #2772

Open
1 task
gangsthub opened this issue Oct 2, 2024 · 1 comment
Open
1 task

Support Zstandard as compression algorithm #2772

gangsthub opened this issue Oct 2, 2024 · 1 comment
Labels
enhancement New feature or request pending triage

Comments

@gangsthub
Copy link

Describe the feature

Zstandard is a fast compression algorithm, providing high compression ratios. It also offers a special mode for small data, called dictionary compression. The reference library offers a very wide range of speed / compression trade-off, and is backed by an extremely fast decoder

https://facebook.github.io/zstd/

Currently, the options to pre-compile the public assets only allow gzip "and/or" Brotli: https://nitrojs.dev/config#compresspublicassets

Potentially, zstd could provide smaller files, faster (in some scenarios –yet to be investigated).

Additional information

  • Would you be willing to help implement this feature?
@manniL
Copy link
Contributor

manniL commented Oct 5, 2024

Additional info: zstd browser support (Chromium and FF)

@manniL manniL added the enhancement New feature or request label Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pending triage
Projects
None yet
Development

No branches or pull requests

2 participants