title: asp.net mvc bundling scalability
body: <p>When you add a script or style bundle to an mvc site, the bundling framework will append a version to the output markup.</p>
  
  <p>e.g. <code>&lt;script src="/Scripts/custom/App.js?v=nf9WQHcG-UNbqZZzi4pJC3igQbequHCOPB50bXWkT641"&gt;&lt;/script&gt;</code>
  notice the querystring <strong><em>?v=xxx-xxx</em></strong></p>
  
  <p>If you are hosting your App on multiple servers then each server would have a different version appended to the resource url which means in a classic round robin load balanced environment you will download that resource each time you hit a different server.</p>
  
  <p>To me, seems to negate the value of bundling <strong>in some ways</strong>, since the initial load is quicker but a deteriorated performance is experienced on subsequent user interaction.</p>
  
  <p>In practice how have others handled this issue I know depending on the size of the download it could be insignaficant because the minified and gzipped resource is tiny but in many situations this might not be the case. So how can one with minimal effort reap the benefits of bundling and minification in a high scale out environment.</p>