title: MVC4 StyleBundle: Can you add a cache-busting query string in Debug mode?
body: <p>I've got an MVC application and I'm using the <code>StyleBundle</code> class for rendering out CSS files like this:</p>
  
  <pre><code>bundles.Add(new StyleBundle("~/bundles/css").Include("~/Content/*.css"));
  </code></pre>
  
  <p>The problem I have is that in <code>Debug</code> mode, the CSS urls are rendered out individually, and I have a web proxy that aggressively caches these urls. In <code>Release</code> mode, I know a query string is added to the final url to invalidate any caches for each release.</p>
  
  <p>Is it possible to configure <code>StyleBundle</code> to add a random querystring in <code>Debug</code> mode as well to produce the following output to get around the caching issue?</p>
  
  <pre><code>&lt;link href="/stylesheet.css?random=some_random_string" rel="stylesheet"/&gt;
  </code></pre>