From ab47e1126bd5cf58dc7cd6f37375caadb08b83df Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 15 Dec 2016 11:41:24 +0100 Subject: [PATCH] prevent caching of pdf files on S3 --- gulpfile.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 37a2a07..05c3b4e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -355,6 +355,11 @@ gulp.task('deploy', function() { cacheTime: 0, gzip: true }, + + // all pdf files, not cached + '^.+\\.pdf': { + cacheTime: 0 + }, // font mime types '\.eot$': {