diff --git a/CHANGELOG.md b/CHANGELOG.md
index fa8de5d850b..7af94ff6c4b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -125,6 +125,9 @@
- Expose cache `modify` and `identify` to the mutate `update` function.
[@hwillson](https://github.com/hwillson) in [#5956](https://github.com/apollographql/apollo-client/pull/5956)
+- Add a default `gc` implementation to `ApolloCache`.
+ [@justinwaite](https://github.com/justinwaite) in [#5974](https://github.com/apollographql/apollo-client/pull/5974)
+
### Bug Fixes
- `useMutation` adjustments to help avoid an infinite loop / too many renders issue, caused by unintentionally modifying the `useState` based mutation result directly.
diff --git a/src/cache/core/cache.ts b/src/cache/core/cache.ts
index 9a510135ce7..255f1e6cb9b 100644
--- a/src/cache/core/cache.ts
+++ b/src/cache/core/cache.ts
@@ -95,6 +95,10 @@ export abstract class ApolloCache implements DataProxy {
): boolean {
return false;
}
+
+ public gc(): string[] {
+ return [];
+ }
// Experimental API