Temporarily remove caching for http requests on router

This commit is contained in:
2025-07-21 12:02:28 +02:00
parent 0dd3843c26
commit 3dba363e87

View File

@@ -119,6 +119,7 @@ func createRequest(r *http.Request, host *Host, remote string) (*http.Request, e
copyRequestHeader(r, req) copyRequestHeader(r, req)
req.Header.Set("X-Forwarded-For", r.RemoteAddr) 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() { for _, cookie := range r.Cookies() {
req.AddCookie(cookie) req.AddCookie(cookie)