Open fippo opened 8 years ago
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.
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?
i think we resolved this, did we?
I thin we still didn't add lzstring, right? But feel free to close it and I will create another if needed later.
https://github.com/nodeca/pako -- we could use this
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.