From a05f357e4b15813c9cd7a0e969895f04fc8b2d9c Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Sun, 28 Jul 2024 20:05:50 +0800 Subject: [PATCH] Create .htaccess file with Cache-Control --- src/.htaccess.njk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/.htaccess.njk diff --git a/src/.htaccess.njk b/src/.htaccess.njk new file mode 100644 index 00000000..57a93c4f --- /dev/null +++ b/src/.htaccess.njk @@ -0,0 +1,8 @@ +--- +permalink: .htaccess +eleventyExcludeFromCollections: true +--- + + +Header set Cache-Control "max-age=31536000, public" + \ No newline at end of file