From 1ce4779b4289992e893ad1db3fdb9f0817b68185 Mon Sep 17 00:00:00 2001 From: Andreas Gerstenberg Date: Fri, 20 Oct 2017 11:30:38 +0200 Subject: [PATCH] spk-spar-checker filesmatch --- customer/spk-spar-checker/test.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/customer/spk-spar-checker/test.yaml b/customer/spk-spar-checker/test.yaml index 80a752a5..5283fd79 100644 --- a/customer/spk-spar-checker/test.yaml +++ b/customer/spk-spar-checker/test.yaml @@ -75,11 +75,6 @@ infra::profile::apache::pp_vhosts: - None directoryindex: 'index.html' custom_fragment: 'AddType text/plain .tmpl' - - 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"' rewrites: - comment: 'frontend root rewrite' rewrite_cond: @@ -109,6 +104,12 @@ 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