Cache busting changes a resource’s cache identity when its contents change. A query parameter such as ?v=1 lets browsers reuse an unchanged file; changing it to ?v=2 triggers a fresh request for the updated file. section 18.4
Manually changing version values in every image, stylesheet, or script reference is easy to miss. ASP.NET Core’s Append Version Tag Helper avoids that work by hashing the referenced file and appending the hash as a query string. section 18.4
Version a script automatically
Add the attribute to a static asset: <script src="~/js/site.js" asp-append-version="true"></script>. The rendered URL receives a content-based value, such as /js/site.js?v=EWaMeWsJBYWmL2g_KkgXZQ5nPe. The value stays stable until the file changes, allowing browser caching while ensuring updated JavaScript is requested. section 18.4
<script src="~/js/site.js" asp-append-version="true"></script>
Inspect the concise markup pattern for enabling content-based cache busting on a script. section 18.4

