From e6dec079f917f3513451942b072f239ebc5c719b Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Tue, 20 Aug 2024 08:52:03 +0800 Subject: [PATCH] Add cache policy --- .htaccess | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.htaccess b/.htaccess index 0181780..8a52553 100644 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,10 @@ + +Header set Cache-Control "max-age=31536000, public" + + +Header set Cache-Control "no-cache, public" + + # Template to enable clean URLs for the Apache web server. RewriteEngine On