From 0407b5e386829d894271b0bfdf37db59544963b1 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Wed, 2 Oct 2019 14:28:22 +0530 Subject: [PATCH] Caddyfile: Set Cache-Control header for main site Signed-off-by: Harsh Shandilya --- Caddyfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Caddyfile b/Caddyfile index c77f902..b7622ef 100644 --- a/Caddyfile +++ b/Caddyfile @@ -33,6 +33,9 @@ https://msfjarvis.website { hook /githook {$WEBHOOK_PASSWORD} then hugo --destination=/var/www/msfjarvis.website --minify } + header / { + Cache-Control "max-age=2592000" + } } https://build.msfjarvis.website {