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 (zstd) compression algorithm #3781

Open
Gumichocopengin8 opened this issue Dec 27, 2024 · 1 comment
Open

Support Zstandard (zstd) compression algorithm #3781

Gumichocopengin8 opened this issue Dec 27, 2024 · 1 comment
Labels
enhancement New feature or request.

Comments

@Gumichocopengin8
Copy link

What is the feature you are proposing?

Major browsers support zstd now ref.

image

I propose to support zstd compression algorithm in Hono🔥.

const ENCODING_TYPES = ['gzip', 'deflate'] as const

related PR: #3543

@Gumichocopengin8 Gumichocopengin8 added the enhancement New feature or request. label Dec 27, 2024
@Gumichocopengin8 Gumichocopengin8 changed the title Support Zstandard (zstd) compression Support Zstandard (zstd) compression algorithm Dec 27, 2024
@yusukebe
Copy link
Member

Hi @Gumichocopengin8

It's interesting to support Zstandard for the Compress Middleware. But currently, it can't. The CompressionStream used in it does not support Zstandard yet.

https://developer.mozilla.org/en-US/docs/Web/API/CompressionStream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request.
Projects
None yet
Development

No branches or pull requests

2 participants