Gulp plugin that inserts SHA1 checksums into filepaths for cache busting, by wrapping URLs in {{cache-break:url}} markers in HTML files. Version 1.2.0 is the latest but the package is no longer maintained. It supports generating cache-broken paths and optionally creating symlinks. Alternative: use a more modern task runner or bundler with built-in cache busting.
npm install gulp-cache-breakerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use gulp-cache-breaker in a Gulp task: create a CacheBreaker instance, pipe gulpCbPath, then later call symlinkCbPaths.
Consider using gulp-cachebust or switch to a bundler like webpack with content hash.
Ensure the gulp task pipeline runs cache-breaking after building assets.
Only use these markers in files that will be piped through gulpCbPath or gulpCdnUri.
Run 'npm install --save-dev gulp-cache-breaker'
Use 'const cb = new CacheBreaker();'
Ensure gulpCbPath or gulpCdnUri has been called at least once before symlinkCbPaths.
No dependency data recorded yet.