public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/scripts/jquery-{version}.js"));
bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
"~/scripts/jquery-ui-{version}.js"));
bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
"~/scripts/bootstrap.js",
"~/scripts/bootstrap-datepicker.js"));
bundles.Add(new ScriptBundle("~/bundles/knockout").Include(
"~/scripts/knockout-2.2.0.js"));
bundles.Add(new ScriptBundle("~/bundles/theme").Include(
"~/scripts/placeholders.js",
"~/scripts/respond.js",
"~/scripts/html5shiv.js",
"~/scripts/main.js"));
bundles.Add(new ScriptBundle("~/bundles/themepunch").Include(
"~/scripts/jquery.themepunch.tools.js",
"~/scripts/jquery.themepunch.revolution.js"));
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
"~/scripts/jquery.unobtrusive*",
"~/scripts/jquery.validate*"));
// Use the development version of Modernizr to develop with and learn from. Then, when you're
// ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
"~/scripts/modernizr-*"));
bundles.Add(new StyleBundle("~/content/css").Include(
"~/content/css/bootstrap.css",
"~/content/css/datepicker.css",
"~/content/css/custom.css",
"~/content/css/font-awesome.css",
"~/content/css/settings.css"));
bundles.Add(new StyleBundle("~/content/css/theme").Include(
"~/content/css/styles/style.css",
"~/content/css/styles/skin-lblue.css"));
BundleTable.EnableOptimizations = true;
}
<link rel="stylesheet" href="/content/css?v=8i2nabSTk8FyKAwSI4qmdCThCwrjCtj9ofhrH7P93Pg1"></link>
<link rel="stylesheet" href="/content/css/theme?v=EZa3FBUzT6T84m4HP46IJ0nci0aD6fT3PL0a6dnPRO41"></link>
<script async="" src="//www.google-analytics.com/analytics.js"></script>
<script src="/bundles/modernizr?v=PA5XxNfArGq5CRubLb9XK0eImC8J_QIyNswrowrmOpg1"></script>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true" />
<handlers>
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
<add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode,runtimeVersionv4.0" />
</handlers>
<httpProtocol>
<customHeaders>
<remove name="Vary"></remove>
<add name="Vary" value="Accept-Encoding"></add>
</customHeaders>
</httpProtocol>
<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll"/>
<dynamicTypes>
<add mimeType="text/*" enabled="true"/>
<add mimeType="message/*" enabled="true"/>
<add mimeType="application/javascript" enabled="true"/>
<add mimeType="*/*" enabled="false"/>
</dynamicTypes>
<staticTypes>
<add mimeType="text/*" enabled="true"/>
<add mimeType="message/*" enabled="true"/>
<add mimeType="application/javascript" enabled="true"/>
<add mimeType="*/*" enabled="false"/>
</staticTypes>
</httpCompression>
<urlCompression doStaticCompression="true" doDynamicCompression="true"/>
</system.webServer>
Check the 2nd Point.
The {version} wild card matching shown above is used to automatically create a jQuery bundle with the appropriate version of jQuery in your Scripts folder. In this example, using a wild card provides the following benefits:
1. Allows you to use NuGet to update to a newer jQuery version without changing the preceding bundling code or jQuery references in your view pages.
2. Automatically selects the full version for debug configurations and the ".min" version for release builds.
http://www.asp.net/mvc/overview/performance/bundling-and-minification