Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 75f5b88

Browse files
authored
Grammar update
1 parent 330065e commit 75f5b88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/guides/v2.4/graphql/caching.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@ To enable GraphQL caching on Fastly:
109109

110110
[Set up Fastly]({{ site.baseurl }}/cloud/cdn/configure-fastly.html) describes how to perform both of these tasks.
111111

112-
By default Faslty module for Magento provides follwing VCL configuration for GraphQL caching:
112+
By default, the Faslty module for Magento provides the follwing VCL configuration for GraphQL caching:
113113

114114
```text
115115
if (req.request == "GET" && req.url.path ~ "/graphql" && req.url.qs ~ "query=") {
116116
....
117117
```
118118

119-
Fastly will cache only GET requests which contains query parameter in request url.
119+
Fastly will only cache GET requests that contain a query parameter in the request url.
120120

121121
### Example
122122

@@ -126,7 +126,7 @@ http://example.com/graphql?query={ products(filter: {sku: {eq: "Test"}}) { items
126126
```
127127

128128
{:.bs-callout-info}
129-
Be aware, if you calling GraphQL queries by transferring query body not in the url (e.g. as --data-raw '{"query" .... }'), then request will not be cached.
129+
If you call GraphQL queries in the query body rather than the url (e.g. as --data-raw '{"query" .... }'), the request is not cached.
130130

131131
## X-Magento-Vary
132132

0 commit comments

Comments
 (0)