From 3a9d620831755835a09b1bb8538aa5a67f784cde Mon Sep 17 00:00:00 2001 From: Jack Date: Fri, 25 Sep 2026 10:52:02 +0100 Subject: [PATCH] Add cache bypass cookie --- base.Caddyfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/base.Caddyfile b/base.Caddyfile index 5bbb003..c86e0db 100644 --- a/base.Caddyfile +++ b/base.Caddyfile @@ -71,7 +71,9 @@ retries 2 } abort @blocked - cache + # Bypass cookie for caching + @cacheable not header_regexp Cookie (^|;\s*)nocache= + cache @cacheable } (errorhandler) { -- 2.51.2