diff --git a/etc/vcl_snippets/fetch.vcl b/etc/vcl_snippets/fetch.vcl index 0e697261..e5ddaf7d 100644 --- a/etc/vcl_snippets/fetch.vcl +++ b/etc/vcl_snippets/fetch.vcl @@ -64,7 +64,7 @@ if (req.http.graphql) { set beresp.http.Vary:Store = ""; set beresp.http.Vary:Content-Currency = ""; - } else if (beresp.http.Content-Type ~ "text/(html|xml)") { + } else if (beresp.http.Content-Type ~ "text/(html|xml)" || beresp.http.Content-Type ~ "application/json") { set beresp.http.Vary:X-Magento-Vary = ""; set beresp.http.Vary:X-Store-Cookie = ""; set beresp.http.Vary:Https = "";