I receive large json via websocket and want to compress it by gzip on server side
What is the best way to use gzip with websockets on Ionic?
I found some solutions:
http://nodeca.github.io/pako/ (seems to working well)
(documentation is none. Probably, I can build plugin for ionic, but don’t want waste my time )
Used specific headers:
Accept-encoding: gzip, deflate, sdch, br
(I’m not sure this approach will be working with ionic on the all devices)