Skip to content

Commit

Permalink
Minor tweak to explanation of base value
Browse files Browse the repository at this point in the history
Co-authored-by: Maria Elisabeth Schreiber <[email protected]>
  • Loading branch information
jerelmiller and Meschreiber authored Dec 20, 2023
1 parent ada5348 commit 0f5841c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/caching/memory-management.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ not always transform the same input to the same output, you should set the cache
size for caches using a Transformed `DocumentNode` to a higher value than for
caches using a user-supplied `DocumentNode`.

By default, Apollo Client uses a "base value" of 1000 for caches using
By default, Apollo Client uses a base value of 1000 cached objects for caches using
user-supplied `DocumentNode` instances, and scales other cache sizes relative
to that.
to that. For example, the default base value of 1000 for user-provided `DocumentNode`s would scale to 2000, 4000, etc. for transformed `DocumentNode`s, depending on the transformation performed.

This base value should be plenty for most applications, but you can tweak them if you have different requirements.

Expand Down

0 comments on commit 0f5841c

Please sign in to comment.