From fbd5500690b7a9e389b1b4ca2c09b72d8ad14f9f Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 9 Jul 2021 02:47:57 +0200 Subject: [PATCH] update cache settings for blog-related sites --- main/.htaccess | 4 ++++ main/blog/.htaccess | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/main/.htaccess b/main/.htaccess index f677733..61c9b59 100644 --- a/main/.htaccess +++ b/main/.htaccess @@ -1,4 +1,8 @@ Header append Cache-Control max-age=31536000 + +Header edit Cache-Control ^max-age=\w* max-age=600 + + Options +MultiViews -Indexes ErrorDocument 404 /404.html diff --git a/main/blog/.htaccess b/main/blog/.htaccess index c5f5e65..d08cbff 100644 --- a/main/blog/.htaccess +++ b/main/blog/.htaccess @@ -1,2 +1 @@ -Header append Cache-Control must-revalidate -Header edit Cache-Control ^max-age=\w* max-age=0 \ No newline at end of file +Header edit Cache-Control ^max-age=\w* max-age=600 \ No newline at end of file