From 1ca6bba03a940a51c6cc797860323d0abf6d1e58 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 1 Dec 2019 21:13:13 +0530 Subject: [PATCH] Disable caching in website domains Signed-off-by: Harsh Shandilya --- Caddyfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Caddyfile b/Caddyfile index 1d03071..83dfe1d 100644 --- a/Caddyfile +++ b/Caddyfile @@ -32,7 +32,7 @@ https://msfjarvis.website { import compression_config root /var/www/msfjarvis.website/ header / { - Cache-Control "max-age=2592000" + Cache-Control "no-cache" } } @@ -87,4 +87,7 @@ https://staging.msfjarvis.website { import base_config import compression_config root /var/www/msfjarvis.website.staging/ + header / { + Cache-Control "no-cache" + } }