diff --git a/cmd/filter-proxy/main.go b/cmd/filter-proxy/main.go index e010222..431809e 100644 --- a/cmd/filter-proxy/main.go +++ b/cmd/filter-proxy/main.go @@ -230,11 +230,13 @@ func main() { } w.Header().Set("Content-Type", "application/json") + w.Header().Set("Cache-Control", "private") w.Write(response) } } else { utils.DelHopHeaders(proxyResp.Header) utils.CopyHeader(w.Header(), proxyResp.Header) + w.Header().Set("Cache-Control", "private") w.WriteHeader(proxyResp.StatusCode) io.Copy(w, proxyResp.Body) }