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

Commit c959519

Browse files
authored
Update caching.md
1 parent c6a1f16 commit c959519

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ title: GraphQL caching
55

66
Magento can cache pages rendered from the results of certain GraphQL queries with [full-page caching]({{page.baseurl}}/extension-dev-guide/cache/page-caching.html). Full-page caching improves response time and reduces the load on the server. Without caching, each page might need to run blocks of code and retrieve large amounts of information from the database. Only queries submitted with an HTTP GET operation can be cached. POST queries cannot be cached.
77

8+
The GraphQL schema is cached in the Configuration cache, which can be refreshed from the Cache Management page (**System** > **Tools** > **Cache Management**).
9+
810
## Cached and uncached queries
911

1012
The definitions for some queries include cache tags. Full page caching uses these tags to keep track of cached content. They also allow public content to be invalidated. Private content invalidation is handled on the client side.
@@ -151,7 +153,3 @@ Magento invalidates the cache when any of the following events occur:
151153
* The `Preview-Version` header is specified in a query that supports caching.
152154
* The system configuration changes.
153155
* An administrator flushes or disables the cache from the Admin or with the `bin/magento cache` command.
154-
155-
### GraphQL Schema
156-
157-
The GraphQL schema is cached in the Configuration cache, which can be refreshed from the Cache Management page (System > Tools > Cache Management).

0 commit comments

Comments
 (0)