Cache busting
Cache busting is the practice of changing a resource’s cache identity or invalidating cached data to force retrieval or execution of updated content.
Pro ASP.NET Core 7, Tenth Edition
A cache-busting value is a changing resource identifier component that causes clients to retrieve a new version instead of using a stale cached file.
- How it is used
- Keeps deployed static files current for clients while retaining the benefits of caching.
- How deep it goes
- Explains the stale-cache problem and shows generated version URLs, without detailing checksum generation.
- Examples
- Shows versioned jQuery and skyline-image URLs generated from elements in a shared Razor layout.
- What you can do after
- Apply it via ASP.NET Core tag helpers by setting asp-append-version on script and img elements and inspecting rendered URLs.
Read how Pro ASP.NET Core 7, Tenth Edition explains cache busting →
ASP.NET Core in Action, 3e
Cache busting is a technique that changes a resource's cache identity when its contents change so clients retrieve the latest version.
- How it is used
- Keeps static assets cached for performance while requesting changed images, stylesheets, and scripts immediately.
- How deep it goes
- Defines manual query strings and explains content hashing with the Append Version Tag Helper, but does not detail caching internals.
- Examples
- Uses a JavaScript file, manual version values, and an asp-append-version-generated URL as concrete examples.
- What you can do after
- Apply it via the Append Version Tag Helper to version linked, scripted, and image assets automatically.
Read how ASP.NET Core in Action, 3e explains cache busting →
Related concepts
- append version tag helperimplemented by · The Append Version Tag Helper appends a content-based version query parameter to a static resource URL.
- cachingcontrasts with · Caching is the practice of storing reusable data or computation results so later access can avoid repeating retrieval or computation.
- SQLuses · SQL is a standardized declarative language for defining, querying, and manipulating data and structures in relational database systems.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

