Skip to content

Commit 187ac76

Browse files
author
Prabhu Ram
committed
MC-31987: Varnish graphql cache has to skip authenticated requests
- typo
1 parent dee14ee commit 187ac76

File tree

4 files changed

+3
-10
lines changed

4 files changed

+3
-10
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ sub vcl_recv {
109109
}
110110

111111
if (req.method == "GET" && req.url ~ "/graphql" && req.url ~ "query=") {
112-
# Authentificated customers should not be cached by default
112+
# Authenticated customers should not be cached by default
113113
if (req.http.Authorization ~ "^Bearer") {
114114
return (pass);
115115
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ sub vcl_recv {
110110
}
111111

112112
if (req.method == "GET" && req.url ~ "/graphql" && req.url ~ "query=") {
113-
# Authentificated customers should not be cached by default
113+
# Authenticated customers should not be cached by default
114114
if (req.http.Authorization ~ "^Bearer") {
115115
return (pass);
116116
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ sub vcl_recv {
110110
}
111111

112112
if (req.method == "GET" && req.url ~ "/graphql" && req.url ~ "query=") {
113-
# Authentificated customers should not be cached by default
113+
# Authenticated customers should not be cached by default
114114
if (req.http.Authorization ~ "^Bearer") {
115115
return (pass);
116116
}

vendor/.htaccess

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)