https://github.com/apollographql/apollo-kotlin-normalized-cache
Apollo Kotlin Normalized Cache
https://github.com/apollographql/apollo-kotlin-normalized-cache
android apollographql graphql graphql-client kotlin kotlin-multiplatform multiplatform
Last synced: 11 days ago
JSON representation
Apollo Kotlin Normalized Cache
- Host: GitHub
- URL: https://github.com/apollographql/apollo-kotlin-normalized-cache
- Owner: apollographql
- License: mit
- Created: 2024-06-18T17:46:23.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-03T17:07:59.000Z (19 days ago)
- Last Synced: 2025-06-03T22:57:04.935Z (19 days ago)
- Topics: android, apollographql, graphql, graphql-client, kotlin, kotlin-multiplatform, multiplatform
- Language: Kotlin
- Homepage: https://apollographql.github.io/apollo-kotlin-normalized-cache/
- Size: 4.9 MB
- Stars: 11
- Watchers: 8
- Forks: 3
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
[](http://community.apollographql.com/new-topic?category=Help&tags=mobile,client)
[](https://app.slack.com/client/T09229ZC6/C01A6KM1SBZ)[](https://central.sonatype.com/namespace/com.apollographql.cache)
[](https://s01.oss.sonatype.org/content/repositories/snapshots/com/apollographql/cache/)## 🚀 Apollo Kotlin Normalized Cache
This repository hosts [Apollo Kotlin](https://github.com/apollographql/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](https://apollographql.github.io/apollo-kotlin-normalized-cache/pagination-home.html)
- [Cache control](https://apollographql.github.io/apollo-kotlin-normalized-cache/cache-control.html) (a.k.a. Time to live or expiration)
- [Garbage collection](https://apollographql.github.io/apollo-kotlin-normalized-cache/garbage-collection.html), and [trimming](https://apollographql.github.io/apollo-kotlin-normalized-cache/trimming.html)
- Partial results from the cache
- API simplifications
- Key scope support
- SQL cache improved performance## 📚 Documentation
See the project website for documentation:
[https://apollographql.github.io/apollo-kotlin-normalized-cache/](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](https://apollographql.github.io/apollo-kotlin-normalized-cache/kdoc)## ⚠️ Disclaimer
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.