Alex Rivera | Logout

WebSocket data compression

Asked 2011-09-21T08:57:30.123
11

Does WebSocket provide support for data compression to save bandwidth? What are the options available? One possible solution could be use of Bijson in place of Json.

Edit
Report

1 Answer

1

WebSocket specs allow extensions, such as deflate-stream. However, it may or may not be supported by the client and server.

You may want to use javascript-based Zip or other compression algorithms.

answered 2011-09-21T09:07:53.243

Your Answer