title: Browser is not downloading updated css, js etc even when url is new
body: <p>I developed a web application in asp.net mvc 4 where I'm serving some resource files like css, js, images etc. </p>
  
  <p>And to always serve an updated file, i appended a random string into query string. That query string value changes when I publish my application. So each publish activity changes that string.</p>
  
  <p>But browser does not downloads the files even with changed URL. Browser downloads the file first time and always serves from cached copy.
  Below is my code.</p>
  
  <pre><code>&lt;script src="~/Content/js/userdefined/dashboard.js?t=@Constants.RandomString" defer&gt;&lt;/script&gt;
  
  public static class Constants
  {
      public static readonly string RandomString = Guid.NewGuid().ToString().ToLower();
  }
  </code></pre>
  
  <p>So each time application gets published, it generates a new string which is working as expected. </p>
  
  <p>Can anyone help in this like why browser is not downloading updated file even when url gets changed?</p>