diff --git a/src/Web/gulpfile.js b/src/Web/gulpfile.js
index 48e95ef1120..666bfd82c1b 100644
--- a/src/Web/gulpfile.js
+++ b/src/Web/gulpfile.js
@@ -30,6 +30,8 @@ paths.lessDir = 'less/';
paths.cssDir = paths.webroot + 'css/';
paths.jsDir = paths.webroot + 'js/';
+var randomString = Math.random().toString(36).substring(7);
+
gulp.task('lint', function () {
return gulp.src(paths.webroot + 'app/**/*.js')
.pipe(jshint())
@@ -261,7 +263,7 @@ gulp.task('dist:css', function () {
paths.cssDir + '**/*.css',
'!' + paths.cssDir + '**/*.min.css'
])
- .pipe(preprocess({ context: settings }))
+ .pipe(preprocess({ context: { cacheTag: randomString } }))
.pipe(cssmin())
.pipe(rename({ suffix: '.min' }))
.pipe(gulp.dest(paths.dist + 'css'));
@@ -277,7 +279,7 @@ gulp.task('dist:js:app', function () {
]);
merge(mainStream, config())
- .pipe(preprocess({ context: settings }))
+ .pipe(preprocess({ context: { cacheTag: randomString } }))
.pipe(concat(paths.dist + '/js/app.min.js'))
.pipe(ngAnnotate())
.pipe(uglify())
@@ -306,7 +308,7 @@ gulp.task('dist:preprocess', function () {
.src([
paths.dist + '/**/*.html'
], { base: '.' })
- .pipe(preprocess({ context: settings }))
+ .pipe(preprocess({ context: { cacheTag: randomString }}))
.pipe(gulp.dest('.'));
});
diff --git a/src/Web/wwwroot/_references.js b/src/Web/wwwroot/_references.js
index d148fa59c35..6d67418a233 100644
--- a/src/Web/wwwroot/_references.js
+++ b/src/Web/wwwroot/_references.js
@@ -58,7 +58,6 @@
///
///
///
-///
///
///
///
@@ -70,4 +69,3 @@
///
///
///
-///
diff --git a/src/Web/wwwroot/index.html b/src/Web/wwwroot/index.html
index aa2deb31d59..b4a80a2f450 100644
--- a/src/Web/wwwroot/index.html
+++ b/src/Web/wwwroot/index.html
@@ -10,13 +10,13 @@
@@ -30,16 +30,16 @@