Socket.io script size reduce
node.js, socket.io
Solution
There is a setting in the socket.io configuration for this:
https://github.com/LearnBoost/Socket.IO/wiki/Configuring-Socket.IO
browser client minification defaults to false
Does Socket.IO need to send a minified build of socket.io.js.
You may also enable gzip compression on the library.
Problem
socket.io source script goes like 70k, a great part is comments, spaces... I need to reduce that script to a smaller size Some scripts do not even have spaces and the code is all toghether, this reduces the script original size. Where is the location of the socket.io script so that I can remove comments and spaces? Or is there a socket.io allready whithout comments and spaces with a smaller size?