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

Commit 16799b3

Browse files
committed
GraphQL: Preview-Version queries
1 parent 64a84ca commit 16799b3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ GraphQL allows you to make multiple queries in a single call. If you specify any
1414

1515
Magento caches the following queries:
1616

17+
* `categories`
1718
* `category` (deprecated)
1819
* `categoryList`
1920
* `cmsBlocks`
@@ -33,7 +34,7 @@ Magento explicitly disallows caching the following queries.
3334
* `customerOrders`
3435
* `customerPaymentTokens`
3536
* `storeConfig`
36-
* `wishlist`
37+
* `wishlist` (deprecated)
3738

3839
[Define the GraphQL schema for a module]({{page.baseurl}}/graphql/develop/create-graphqls-file.html) describes the syntax of a valid query.
3940

@@ -145,6 +146,7 @@ Header | Description
145146

146147
Magento invalidates the cache when any of the following events occur:
147148

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

Comments
 (0)