From 16799b30c6a7f8067b60e41b762d8bbaf9ef167a Mon Sep 17 00:00:00 2001 From: Kevin Harper Date: Thu, 11 Feb 2021 09:12:26 -0600 Subject: [PATCH 1/2] GraphQL: Preview-Version queries --- src/guides/v2.4/graphql/caching.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/guides/v2.4/graphql/caching.md b/src/guides/v2.4/graphql/caching.md index 667e9255ce2..8cf6544082b 100644 --- a/src/guides/v2.4/graphql/caching.md +++ b/src/guides/v2.4/graphql/caching.md @@ -14,6 +14,7 @@ GraphQL allows you to make multiple queries in a single call. If you specify any Magento caches the following queries: +* `categories` * `category` (deprecated) * `categoryList` * `cmsBlocks` @@ -33,7 +34,7 @@ Magento explicitly disallows caching the following queries. * `customerOrders` * `customerPaymentTokens` * `storeConfig` -* `wishlist` +* `wishlist` (deprecated) [Define the GraphQL schema for a module]({{page.baseurl}}/graphql/develop/create-graphqls-file.html) describes the syntax of a valid query. @@ -145,6 +146,7 @@ Header | Description Magento invalidates the cache when any of the following events occur: -* 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. -* When system configuration changes -* When an administrator flushes or disables the cache from the Admin or with the `bin/magento cache` command +* 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. +* The `Preview-Version` header is specified in a query that supports caching. +* The system configuration changes +* An administrator flushes or disables the cache from the Admin or with the `bin/magento cache` command From 4999301dd7ac2a5d83206062f4bf4f220adb1561 Mon Sep 17 00:00:00 2001 From: Donald Booth Date: Thu, 11 Feb 2021 11:12:35 -0500 Subject: [PATCH 2/2] Periods --- src/guides/v2.4/graphql/caching.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/guides/v2.4/graphql/caching.md b/src/guides/v2.4/graphql/caching.md index 8cf6544082b..455c26715a6 100644 --- a/src/guides/v2.4/graphql/caching.md +++ b/src/guides/v2.4/graphql/caching.md @@ -148,5 +148,5 @@ Magento invalidates the cache when any of the following events occur: * 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. * The `Preview-Version` header is specified in a query that supports caching. -* The system configuration changes -* An administrator flushes or disables the cache from the Admin or with the `bin/magento cache` command +* The system configuration changes. +* An administrator flushes or disables the cache from the Admin or with the `bin/magento cache` command.