3 ms·
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 AJA
by maarten 14y ago
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.
- martindale 14y agoIt does in fact support gzip ( see: https://github.com/LearnBoost/socket.io/wiki/Configuring-Socket.IO 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#issuecomment-6850772 https://github.com/LearnBoost/socket.io/issues/932#issuecomm... ). This should be fixed in the upcoming update to zlib.