Append a timestamp to asset URLs in a web app.
gulp.task('cacheBreak', function(callback){
gulp.src('templates/header.html')
.pipe(cacheBreak('assets/css/styles.css'))
.pipe(cacheBreak('assets/js/scripts.js'))
.pipe(gulp.dest('dist'));
})
- First release