Welcome
This is Apollo Kotlin's Normalized Cache.
For an introduction please read the Normalized Cache documentation.
The Normalized Cache is now hosted in this dedicated repository and published at its own cadence and versioning scheme.
Compared to the previous version, this library brings:
Expiration (a.k.a. Time to live)
API simplifications
Key scope support
SQL cache improved performance
The Normalized Cache in the Apollo Kotlin main repository will not receive new features - they are added here instead. In the future, the main repository version will be deprecated and then removed.
Use in your project
The Normalized Cache requires Apollo Kotlin v4.3.0 or later.
Add the dependencies to your project
Configure the compiler plugin
If you're already using the main repository version, please consult the migration guide.