You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: src/guides/v2.4/graphql/caching.md
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ GraphQL allows you to make multiple queries in a single call. If you specify any
14
14
15
15
Magento caches the following queries:
16
16
17
+
*`categories`
17
18
*`category` (deprecated)
18
19
*`categoryList`
19
20
*`cmsBlocks`
@@ -33,7 +34,7 @@ Magento explicitly disallows caching the following queries.
33
34
*`customerOrders`
34
35
*`customerPaymentTokens`
35
36
*`storeConfig`
36
-
*`wishlist`
37
+
*`wishlist` (deprecated)
37
38
38
39
[Define the GraphQL schema for a module]({{page.baseurl}}/graphql/develop/create-graphqls-file.html) describes the syntax of a valid query.
39
40
@@ -145,6 +146,7 @@ Header | Description
145
146
146
147
Magento invalidates the cache when any of the following events occur:
147
148
148
-
* When a change occurs to a specific entity or entities in aggregate. An increase in a product's price is a direct and obvious change. Applying a new tax class tax to products changes a set of products in aggregate.
149
-
* When system configuration changes
150
-
* When an administrator flushes or disables the cache from the Admin or with the `bin/magento cache` command
149
+
* A change occurs to a specific entity or entities in aggregate. An increase in a product's price is a direct and obvious change. Applying a new tax class tax to products changes a set of products in aggregate.
150
+
* The `Preview-Version` header is specified in a query that supports caching.
151
+
* The system configuration changes
152
+
* An administrator flushes or disables the cache from the Admin or with the `bin/magento cache` command
0 commit comments