From 00b89402ba12fedabd90a19ed55b88655b4f1f50 Mon Sep 17 00:00:00 2001 From: PhoenixPM - BK <bjoern.kraus@phoenix-media.eu> Date: Wed, 21 Jan 2015 11:26:58 +0100 Subject: [PATCH] prevent html and plain text files from beeing cached in browsers and proxies by default --- .htaccess | 2 ++ pub/.htaccess | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.htaccess b/.htaccess index f1ef8719ba1..bb7063c239a 100644 --- a/.htaccess +++ b/.htaccess @@ -167,6 +167,8 @@ ## http://developer.yahoo.com/performance/rules.html#expires ExpiresDefault "access plus 1 year" + ExpiresByType text/html A0 + ExpiresByType text/plain A0 </IfModule> diff --git a/pub/.htaccess b/pub/.htaccess index b00b2127289..be0fa29b89a 100644 --- a/pub/.htaccess +++ b/pub/.htaccess @@ -153,6 +153,8 @@ ## http://developer.yahoo.com/performance/rules.html#expires ExpiresDefault "access plus 1 year" + ExpiresByType text/html A0 + ExpiresByType text/plain A0 </IfModule> -- GitLab