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

Opt-in on message compression #78

Open
hustf opened this issue Nov 13, 2017 · 2 comments
Open

Opt-in on message compression #78

hustf opened this issue Nov 13, 2017 · 2 comments

Comments

@hustf
Copy link
Collaborator

hustf commented Nov 13, 2017

Compression extensions are standardized by now.
For local websockets, the current behaviour of not compressing messages is optimal.
For use over the internet, compression is a necessary feature for e.g. interactive pixel graphics.

On the client side, the negotiated message compression is available in javascript using
websocket.extensions. A similar interface ought to be available on the server side.

The http request for a websocket contains the possibilities, e.g. from Chrome:
Sec-WebSocket-Extensions => permessage-deflate; client_max_window_bits

Ref. issue #76 - compression would currently be very effective even on local connections.

@crazbot
Copy link

crazbot commented Jun 30, 2018

is "permessage-deflate“ implemented?

@hustf
Copy link
Collaborator Author

hustf commented Jun 30, 2018 via email

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

No branches or pull requests

2 participants