问题
Typically, all bundles generated by System.Web.Optimization are given versions in their query parameters. However, if you specify a CdnPath
and CdnFallbackExpression
value, the src
attribute in the fallback <script>
is left without a version. Is there a reason for this I'm not understanding, or is this a bug in the code?
来源:https://stackoverflow.com/questions/21298412/why-does-the-cdnfallbackexpression-generate-a-version-less-bundle