title: How does the browser know where to find socket.io?
body: <pre><code>&lt;script src="/socket.io/socket.io.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>How does the browser know how to grab socket.io from that reference? The last time I checked, I didn't have a socket.io.js file in my public folder.</p>
  
  <p><strong>Update:</strong> Socket.io is working just fine, I'm just curious how it uses this mysterious route to get the client side socket.io code.</p>
  
  <p>Thanks for the extensive answer : )</p>