title: Socket.io client served from CDN
body: <p>According to the Socket.io documentation:</p>
  
  <blockquote>
    <p>A standalone build of socket.io-client is exposed automatically by the socket.io server as /socket.io/socket.io.js. Alternatively you can serve the file socket.io-client.js found at the root of this repository.</p>
  </blockquote>
  
  <pre><code>&lt;script src="/socket.io/socket.io.js"&gt;&lt;/script&gt;
  &lt;script&gt;
      var socket = io('http://localhost');
      socket.on('connect', function(){
      socket.on('event', function(data){});
      socket.on('disconnect', function(){});
    });
  &lt;/script&gt;
  </code></pre>
  
  <p>However, I would like to serve the socket.io client from a separate CDN (it's cheaper, faster, and reduces load on my server).</p>
  
  <p>How can I do this?  Do I have to disable the socket.io default?</p>