Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for the per-frame DEFLATE extension #1148
Any plans to add support for per-frame DEFLATE: http://tools.ietf.org/html/draft-tyoshino-hybi-websocket-perframe-deflate-06
Some basic tests suggest I could reduce the size of my message frames to just 12% of their original size. That would help a lot with bandwidth usage.
2 similar comments
4 similar comments
Maybe needless to say, but please make this functionality opt-in on the server-side.
I notice Chrome currently sends this header: "Sec-WebSocket-Extensions:permessage-deflate; client_max_window_bits, x-webkit-deflate-frame", and I wondered what the impact would be. But I actually send many small frames over Socket.io, and applying gzip on them manually actually inflates their size. So if this were implemented, I would rather have the option to turn it off server-side completely.