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

add message compression #21

Open
fippo opened this issue Mar 8, 2016 · 5 comments
Open

add message compression #21

fippo opened this issue Mar 8, 2016 · 5 comments

Comments

@fippo
Copy link
Owner

fippo commented Mar 8, 2016

from #18: lets also compress this, either using lzstring or a using a custom name mapping. Most likely lzstring which adds ~4kb download is the best solution.

@ggarber
Copy link
Contributor

ggarber commented Mar 8, 2016

1.6Kb gzipped https://cdnjs.cloudflare.com/ajax/libs/lz-string/1.4.4/lz-string.min.js

There is a websocket deflate extension. If we figure out how to enable it maybe we can get that with 0 effort and 0 extra KB and dependencies.

@fippo
Copy link
Owner Author

fippo commented Mar 8, 2016

Sec-WebSocket-Extensions:permessage-deflate

-- already on? I had wondered because the actual traffic measured in wireshark was way lower than I expected when I looked. How did you actually measure, looking at the frames or with wireshark?

@fippo
Copy link
Owner Author

fippo commented Mar 23, 2016

i think we resolved this, did we?

@ggarber
Copy link
Contributor

ggarber commented Mar 23, 2016

I thin we still didn't add lzstring, right? But feel free to close it and I will create another if needed later.

@fippo
Copy link
Owner Author

fippo commented Apr 11, 2017

https://github.com/nodeca/pako -- we could use this

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