# apollo-kotlin-normalized-cache
**Repository Path**: mirrors_apollographql/apollo-kotlin-normalized-cache
## Basic Information
- **Project Name**: apollo-kotlin-normalized-cache
- **Description**: Apollo Kotlin Normalized Cache
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-04-11
- **Last Updated**: 2026-09-12
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## 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://central.sonatype.com/repository/maven-snapshots/com/apollographql/cache/normalized-cache/maven-metadata.xml)
[](https://community.develocity.cloud/scans?search.rootProjectNames=apollo-kotlin-normalized-cache)
## 🚀 Apollo Kotlin Normalized Cache
This repository hosts [Apollo Kotlin](https://github.com/apollographql/apollo-kotlin)'s Normalized Cache.
1. Add the dependencies to your project
```kotlin
// build.gradle.kts
dependencies {
// For the memory cache
implementation("com.apollographql.cache:normalized-cache:$cacheVersion")
// For the SQL cache
implementation("com.apollographql.cache:normalized-cache-sqlite:$cacheVersion")
}
```
2. Configure the compiler plugin
```kotlin
// build.gradle.kts
apollo {
service("service") {
// ...
// For Apollo Kotlin v4
plugin("com.apollographql.cache:normalized-cache-apollo-compiler-plugin:$cacheVersion") {
argument("com.apollographql.cache.packageName", packageName.get())
}
// For Apollo Kotlin v5+
plugin("com.apollographql.cache:normalized-cache-apollo-compiler-plugin:$cacheVersion")
pluginArgument("com.apollographql.cache.packageName", packageName.get())
}
}
```
## 📚 Documentation
See the cache section of the Apollo Kotlin documentation:
https://www.apollographql.com/docs/kotlin/caching/normalized-cache
The Kdoc API reference can be found at:
https://apollographql.github.io/apollo-kotlin-normalized-cache/kdoc
The migration guide if you're coming from the previous version:
https://www.apollographql.com/docs/kotlin/caching/migration-guide