Skip to content

Commit

Permalink
Mention { resultCaching: false } in CHANGELOG.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamn committed Dec 19, 2018
1 parent 9b828e1 commit f25c0dd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@
- Avoid using `DepTrackingCache` for optimistic reads.
[PR #4521](https://github.com/apollographql/apollo-client/pull/4251)

- When creating an `InMemoryCache` object, it's now possible to disable the
result caching behavior introduced in [#3394](https://github.com/apollographql/apollo-client/pull/3394),
either for diagnostic purposes or because the benefit of caching repeated
reads is not worth the extra memory usage in your application:
```ts
new InMemoryCache({
resultCaching: false
})
```
Part of [PR #4521](https://github.com/apollographql/apollo-client/pull/4251).

## Apollo Client (2.4.7)

### Apollo Client (2.4.7)
Expand Down

0 comments on commit f25c0dd

Please sign in to comment.