From 00268df759f465d0281621294612487d17dcdb82 Mon Sep 17 00:00:00 2001 From: Andreas Gerstenberg Date: Fri, 20 Oct 2017 11:16:06 +0200 Subject: [PATCH] spk-spar-checker add filesmatch --- customer/spk-spar-checker/test.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/customer/spk-spar-checker/test.yaml b/customer/spk-spar-checker/test.yaml index 7db26246..866651a0 100644 --- a/customer/spk-spar-checker/test.yaml +++ b/customer/spk-spar-checker/test.yaml @@ -104,7 +104,11 @@ infra::profile::apache::pp_vhosts: - '^(mstile-[0-9]{2,3}x[0-9]{2,3}.png)$ - [L]' - '^(opera_160.png)$ - [L]' - '.* /404.html [R=404,L]' - + - provider: filesmatch + path: '\.(html|tmpl|js)$' + headers: + - 'set Cache-Control "no-cache, no-store, must-revalidate, max-age=0, proxy-revalidate, no-transform"' + - 'set Pragma "no-cache"' - provider: location path: '/' limit_except: -- 2.39.5