From 37e992f0bad2527875b51344f93dc3534fea3870 Mon Sep 17 00:00:00 2001 From: Stefan Sterz Date: Fri, 4 Aug 2017 20:27:56 +0200 Subject: [PATCH 1/2] feat: enable caching --- .htaccess | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.htaccess b/.htaccess index 3f66192..c486c22 100644 --- a/.htaccess +++ b/.htaccess @@ -53,3 +53,9 @@ RequestHeader set X-Forwarded-Proto https RequestHeader set X-Forwarded-Ssl on + +# Enable caching of css and js +ExpiresActive On + +ExpiresByType application/x-javascript M604800 +ExpiresByType text/css M604800 From 1ca82c7825857c8bc4cdc76765aef420f89eed69 Mon Sep 17 00:00:00 2001 From: Stefan Sterz Date: Fri, 4 Aug 2017 20:31:11 +0200 Subject: [PATCH 2/2] feat: improve caching --- .htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/.htaccess b/.htaccess index c486c22..2b614c8 100644 --- a/.htaccess +++ b/.htaccess @@ -59,3 +59,4 @@ ExpiresActive On ExpiresByType application/x-javascript M604800 ExpiresByType text/css M604800 +ExpiresByType text/x-javascript M604800