title: How to version MVC JavaScript includes
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2185872/force-browsers-to-get-latest-js-and-css-files-in-asp-net-application">force browsers to get latest js and css files in asp.net application</a>  </p>
  </blockquote>
  
  
  
  <p>I'm working with someone else's code, so I don't know the whole picture, and I don't even know MVC that well, but here's the problem...</p>
  
  <p>In Site.Master there's a</p>
  
  <pre><code>&lt;%= Html.IncludeJs("ProductPartial")%&gt;
  </code></pre>
  
  <p>which produces this line in the final mark-up</p>
  
  <pre><code>&lt;script type="text/javascript" src="/Scripts/release/ProductPartial.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I made some changes in the JS file, but the old one is obviously cached by the browser, so the changes won't show up until the user refreshes. The usual workaround is to add a version tag at the end of the script source path, but I'm not sure how to do that in this case.</p>
  
  <p>Any suggestions?</p>