Setting up Socket.IO for production (It’s important!)

The socket.io.js file is big. If you want to use Socket.IO in a production environment, I strongly suggest you read this… https://github.com/LearnBoost/Socket.IO/wiki/Configuring-Socket.IO Here is the recommended setup for a production environment io.configure(‘production’, function(){ console.log(doodlr + ” set config for production”); io.enable(‘browser client minification’); // send minified client io.enable(‘browser client etag’); // apply etag caching logic […]