Of course I can do all the hard work to change my framework to reflect this change but was wondering if there is already an established way of achieving this.
No, there is no need for you to do all the hardwork. Microsoft ASP.Net Web Optimization framework will take care of it. The only think you need to do is to create proper bundles and register them in Global.asax.
Creating a bundle -
public class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
ScriptBundle bundle = new ScriptBundle("~/bundles/jquery");
bundle.Include("~/Scripts/jquery-{version}.js");
bundle.Include("~/Scripts/_references.js");
bundles.Add(bundle);
}
}
And then register in Global.asax -
BundleConfig.RegisterBundles(BundleTable.Bundles);
When rendered in the browser, JQuery bundle will be having version in its URL.
<script src="/bundles/jquery?v=PsWsn1syKMUFBUcJusJPfq6HqYqANhiRR1uZJvzFJ-c1"></script>
And if you change some code in the JQuery files, then a new version number will be alloted to the bundle.
This approach will take care of browser getting updated files on changes.