changes in vc

This commit is contained in:
Mateusz Gruszczyński
2026-04-01 08:02:42 +02:00
parent f197efe2eb
commit 30f33e29cf

View File

@@ -251,10 +251,16 @@ sub vcl_deliver {
unset resp.http.Via;
unset resp.http.X-Varnish;
unset resp.http.Server;
unset resp.http.Content-Disposition
}
sub vcl_synth {
set resp.http.Cache-Control = "private, no-store, no-cache";
set resp.http.X-Cache = "SYNTH";
unset resp.http.Via;
unset resp.http.X-Varnish;
unset resp.http.Server;
unset resp.http.Content-Disposition
}
# ===== PURGE HANDLER =====