Skip to content

Commit 1968fcf

Browse files
authored
ENGCOM-7761: #24353 Fix Varnish 6 Too many restarts issue #28137
2 parents c63a78a + b268ebb commit 1968fcf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/code/Magento/PageCache/etc/varnish6.vcl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ acl purge {
2323
}
2424

2525
sub vcl_recv {
26+
if (req.restarts > 0) {
27+
set req.hash_always_miss = true;
28+
}
29+
2630
if (req.method == "PURGE") {
2731
if (client.ip !~ purge) {
2832
return (synth(405, "Method not allowed"));

0 commit comments

Comments
 (0)