v0.39.0
This commit is contained in:
1 parent
5e43752041
commit
15425fb803
34 files changed
+1423
-89
No files matched your search
@@ -0,0 +1,9 @@
|
||||
// ADVANCED / HIGH RISK. Only for a verified identical public representation.
|
||||
// Removes Set-Cookie before storage and before forwarding the origin response.
|
||||
// NEVER apply to login, accounts, cart, personalized JSON or CSRF flows.
|
||||
sub vcl_backend_response {
|
||||
if (bereq.url ~ "^/public/banner[.]svg([?]|$)" && beresp.status == 200 && beresp.http.Cache-Control ~ "(^|,) *public(,|$)") {
|
||||
unset beresp.http.Set-Cookie;
|
||||
set beresp.ttl = 1h;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user