This commit is contained in:
Mateusz Gruszczyński committed 2026-11-20 17:18:02 +01:00
1 parent 5e43752041
commit 15425fb803
34 files changed
+1423 -89

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
// Request header sanitation (safe, ordinary representation headers only).
// Deliver mutations do not change the object stored in cache.
sub vcl_recv {
if (req.url ~ "^/catalog(/|[?]|$)") {
unset req.http.X-Marketing-Source;
set req.http.X-Edge-Policy = "catalog-v1";
}
}
sub vcl_deliver {
if (req.url ~ "^/catalog(/|[?]|$)") {
unset resp.http.X-Debug;
set resp.http.X-Edge-Policy = "catalog-v1";
}
}