From ab6fe71575608ce5f96bf64c5213062491165f38 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Wed, 31 Jul 2024 00:29:05 +0800 Subject: [PATCH] Use no-cache policy forCSS and JavaScript files --- src/.htaccess.njk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/.htaccess.njk b/src/.htaccess.njk index ea7ab520..cf0aeb73 100644 --- a/src/.htaccess.njk +++ b/src/.htaccess.njk @@ -4,6 +4,9 @@ eleventyExcludeFromCollections: true --- ErrorDocument 404 /404.html - + Header set Cache-Control "max-age=31536000, public" + + +Header set Cache-Control "no-cache, public" \ No newline at end of file