Linked Questions

Popular Questions

JSON - Optimization

Asked by At

I am working on a web portal where In my scenario there are big size JSON strings (1MB) which are sent by the server. We are using the WebSocket protocol. Obviously, it's taking a long time to load on client's browser.

I have tried Gzipping the JSON at the server end and try to decompress using Javascript. Compression is fine but I get some error while decompressing using JS. I used this library

Could anyone please suggest if there is another way?

P.S. As I am using WebSocket so I can't rely on browser's decompression.

Related Questions