This repository hosts Apollo Kotlin's new normalized cache, aiming to replace the main repository's version.
Compared to the previous version, this new normalized cache brings:
- Pagination support
- Cache control (a.k.a. Time to live or expiration)
- Garbage collection, and trimming
- Partial results from the cache
- API simplifications
- Key scope support
- SQL cache improved performance
See the project website for documentation:
https://apollographql.github.io/apollo-kotlin-normalized-cache/
The Kdoc API reference can be found at:
https://apollographql.github.io/apollo-kotlin-normalized-cache/kdoc
During the alpha phase, the API is still subject to change, although we will try to make changes in non-breaking ways.
For now it is recommended to experiment with this library in non-critical projects/modules, or behind a feature flag.