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

Enable permessage-deflate (RFC 7692) #1236

Open
bt90 opened this issue Dec 10, 2024 · 0 comments
Open

Enable permessage-deflate (RFC 7692) #1236

bt90 opened this issue Dec 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@bt90
Copy link
Contributor

bt90 commented Dec 10, 2024

💡 Idea

WebSocket messages are uncompressed by default, which wastes a lot of bandwidth for text content. RFC 7692 specifies a protocol extension that adds deflate compression. This behavior is strictly opt-in and supported by all major browser vendors.

💻 Target components

Enabling this on the server side should be sufficient: https://pkg.go.dev/github.com/gorilla/websocket#hdr-Compression_EXPERIMENTAL

@bt90 bt90 added the enhancement New feature or request label Dec 10, 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
Projects
None yet
Development

No branches or pull requests

1 participant