Re:A Node.js speed dilemma: AJAX or Socket.IO?
by maarten on Friday October 26, 2012 @07:50AM
(#4701783)
Last time I checked Socket.IO doesn't support GZip compression. I found that, especially on mobile connections with larger datasets, it's just faster to use AJAX requests for client->server data requests, in combination with Socket.IO for fast server->client updates/notifications.
[ Parent
| on HN ]
Re:A Node.js speed dilemma: AJAX or Socket.IO?
by martindale on Friday October 26, 2012 @10:17AM
(#4702216)
It does in fact support gzip ( see: https://github.com/LearnBoost/socket.io/wiki/Configuring-Soc... ), but there's an outstanding issue with spawning the gzip process ( see: https://github.com/LearnBoost/socket.io/issues/932#issuecomm... ).
This should be fixed in the upcoming update to zlib.