gulp-cachebust
gulp-cachebust copied to clipboard
Generates checksums and renames references to files, useful for cachebusting
Hi, I'm using the latest version of this gulp plugin from the npm registry. I noticed two differences in the documentation on npm and github: 1. The latest version on...
Since we do not have access to this repository anymore, we just move the development to a new one. Please open the issue there: https://github.com/jhuesos/gulp-cachebust
Hi! These are my Gulp 4 tasks: ` gulp.task ('css', function() { return gulp // Find all .scss files from the paths.css.sources .src(config.paths.css.sources) .pipe(config.isProduction ? gutil.noop() : $.sourcemaps.init()) // Run...
if the contents is on a sub path, and the mapping is relative from there, like a CSS file including a font in a sub dir, we need to remove...
Is it possible to cachebust without copying the template where everything is included? So if there is an already busted resource like ``` html ``` it would not only search...
Following is my relevant code: ``` gulp.task('scripts', ['clean'], function() { return gulp. src('src/**/*.js'). pipe(sourcemaps.init()). pipe(uglify()). pipe(concat('script.js')). pipe(sourcemaps.write('.')). pipe(cachebust.resources()). pipe(gulp.dest("/dist")); }); ``` Now, the files generated are: `script.12345678.js` and `script.js.87654321.map` In...
I tried to simplify my gulpfile and part it in few smaller, included into main gulpfile. Assets files with finger prints are created but references in index.html are not updated.
gulp-cachebust is the best cache busting library for gulp I know of, and we're using it happily. Now, a peculiar use case has cropped up: We serve a number of...
If you have a file named `bar.png` and one named `foo-bar.png` the `foo-bar.png` file sometimes gets the incorrect hash since the regex (`\bbar.png\b`). This could potentially be solved by simply...