From fca9452a07119a6f5ffccd0df04d61ae91f0f815 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sun, 23 Jan 2022 16:06:57 +0100 Subject: [PATCH] add expiry times for scripts and html --- web/.htaccess | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/.htaccess b/web/.htaccess index 8e411e1..2ce570a 100644 --- a/web/.htaccess +++ b/web/.htaccess @@ -1,3 +1,9 @@ +ExpiresActive On +ExpiresDefault A31536000 +ExpiresByType text/html A600 +ExpiresByType text/javascript A2592000 +ExpiresByType application/javascript A2592000 + Options -Indexes RewriteEngine On