Grunt plugin for cache busting by appending timestamps or MD5 hashes to asset URLs in HTML files. Based on grunt-cache-breaker. Current version 2.0.0, requires Grunt ~0.4.1 and Node >= 0.8.0. No active development since 2015, considered legacy. Differentiators: supports timestamp query strings, filename-based replacements, and MD5 hashing of file contents to invalidate caches only when files change. Works with Grunt 0.4.x only.
npm install grunt-cache-crusherNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Gruntfile configuring cachebreaker to replace asset URLs with MD5 hashes in index.html.
Migrate to a modern build tool (webpack, gulp) with cache busting.
Stay on Grunt 0.4.x or use a different cache-busting tool.
Ensure each match entry has a corresponding src object with path.
Use * as placeholder for the replaced segment.
Add grunt.loadNpmTasks('grunt-cache-crusher'); to Gruntfile.Provide a valid path to the file to be hashed in options.src.path.
Set options.match to an array of strings or objects.
Ensure Node.js is installed correctly (v0.8+).