grunt-cache-breaker

JSON →
library 2.0.1 ·javascript maintenance
verified Jun 7, 2026

Grunt plugin that appends timestamps or MD5 hashes to asset URLs in HTML files to bust browser caches. Current stable version is 2.0.1, last updated in 2015. It modifies references to JavaScript, CSS, or other static files by adding query strings, filename-based versioning, or hash-based replacements. Differentiators: supports multiple hash strategies (timestamp, MD5 of file contents), multiple file matching per task, and flexible URL position (query string, filename, overwrite). Works with Grunt ~0.4.1. Note: This is a legacy Grunt plugin; consider modern build tools (e.g., webpack, Vite) for cache busting.