File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
app/code/Magento/PageCache/etc Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,12 @@ sub vcl_recv {
46
46
if (req.request != " GET" && req.request != " HEAD" ) {
47
47
return (pass );
48
48
}
49
-
49
+
50
+ # Bypass shopping cart and checkout requests
51
+ if (req.url ~ " /checkout" ) {
52
+ return (pass );
53
+ }
54
+
50
55
# normalize url in case of leading HTTP scheme and domain
51
56
set req.url = regsub (req.url , " ^http[s]?://" , " " );
52
57
Original file line number Diff line number Diff line change @@ -40,6 +40,11 @@ sub vcl_recv {
40
40
return (pass );
41
41
}
42
42
43
+ # Bypass shopping cart and checkout requests
44
+ if (req.url ~ " /checkout" ) {
45
+ return (pass );
46
+ }
47
+
43
48
# normalize url in case of leading HTTP scheme and domain
44
49
set req.url = regsub (req.url , " ^http[s]?://" , " " );
45
50
You can’t perform that action at this time.
0 commit comments