From 3dba363e8748211c6b21d9e5fc989324ec67dfc5 Mon Sep 17 00:00:00 2001 From: Pablu23 Date: Mon, 21 Jul 2025 12:02:28 +0200 Subject: [PATCH] Temporarily remove caching for http requests on router --- router.go | 1 + 1 file changed, 1 insertion(+) diff --git a/router.go b/router.go index 104e509..ed99a82 100644 --- a/router.go +++ b/router.go @@ -119,6 +119,7 @@ func createRequest(r *http.Request, host *Host, remote string) (*http.Request, e copyRequestHeader(r, req) req.Header.Set("X-Forwarded-For", r.RemoteAddr) + req.Header.Set("Cache-Control", "no-store, no-cache, max-age=0, must-revalidate, proxy-revalidate") for _, cookie := range r.Cookies() { req.AddCookie(cookie)