Skip to content

Commit b268ebb

Browse files
ENGCOM-7761: #24353 Fix Varnish 6 Too many restarts issue #28137
- Merge Pull Request #28137 from ihor-sviziev/magento2:fix-varnish6-too-many-restarts - Merged commits: 1. cef2ac3
2 parents 00f8a8c + cef2ac3 commit b268ebb

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)