We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5053319 commit 43a757cCopy full SHA for 43a757c
modules/httpcache/httpcache.go
@@ -25,7 +25,7 @@ func AddCacheControlToHeader(h http.Header, d time.Duration) {
25
// to remind users they are using non-prod setting.
26
// some users may be confused by "Cache-Control: no-store" in their setup if they did wrong to `RUN_MODE` in `app.ini`.
27
h.Add("X-Gitea-Debug", "RUN_MODE="+setting.RunMode)
28
- h.Add("X-Gitea-Debug", "CacheControl=not-prod")
+ h.Add("X-Gitea-Debug", "CacheControl=no-store")
29
}
30
31
0 commit comments