title: MVC4 bundling javascript or css files from a different domain?
body: <p>In MVC4's Web.Optimization bundling /  minimization, is it possible to register a bundle on one site (our static cookieless domain) and then use that bundle on another site (our webapp domain)?</p>
  
  <p>eg static.myapp.com has a BundleConfig.cs with</p>
  
  <pre><code>public static void RegisterBundles(BundleCollection bundles)
  {
      bundles.Add(new ScriptBundle("~/Scripts/static")
                  .Include("~/Scripts/*.js"));
  }
  </code></pre>
  
  <p>Can that bundle be used in a view on the webapp's domain, eg www.myapp.com has this in Site.Master</p>
  
  <pre><code>&lt;%= Scripts.Render("static.myapp.com/Scripts/static") %&gt;
  </code></pre>
  
  <p>Can this be done with MVC4 bundling? Serving static files from a cookieless static domain is a well known performance improvement.</p>