在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):furzeface/gulp-cache-bust开源软件地址(OpenSource Url):https://github.com/furzeface/gulp-cache-bust开源编程语言(OpenSource Language):JavaScript 83.3%开源软件介绍(OpenSource Introduction):gulp-cache-bust
UsageFirst, install npm install --save-dev gulp-cache-bust Then, add it to your var cachebust = require('gulp-cache-bust');
gulp.src('./dist/*/*.html')
.pipe(cachebust({
type: 'timestamp'
}))
.pipe(gulp.dest('./dist')); APIcache-bust(options)options.typeType: The time of query string you want appended to your asset URLs. options.basePathType: Path to find File in case you chose the MD5 Type of cache-busting. LicenseCopyright (c) 2014 Daniel Furze. Licensed under the MIT license: http://danielfurze.mit-license.org |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论