Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Add a note about the new dry run option #6973

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/source/routing/performance/caching/in-memory.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ To prevent increased latency upon query plan cache invalidation, the router prec

Precomputed plans will be cached before the router switches traffic over to the new schema.

<Tip>

You can also send the header `Apollo-Expose-Query-Plan: dry-run` for [generating query plans at runtime](https://www.apollographql.com/docs/graphos/reference/federation/query-plans#outputting-query-plans-with-headers) which can be used to warm up your cache instances with a custom defined operation list.

</Tip>


By default, the router warms up the cache with 30% of the queries already in cache, but it can be configured as follows:

```yaml title="router.yaml"
Expand Down