gulp添加css,js版本号,清除网页缓存

http://www.ydcss.com/archives/49/comment-page-1#comments
注:html引用处需加‘?rev=@@hash’后缀;



gulpfile.js最后需加:

gulp.task("default",'testRev');

才能运行gulp;

你可能感兴趣的:(gulp添加css,js版本号,清除网页缓存)