# 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

Apollo Client

[![Discourse](https://img.shields.io/discourse/topics?label=Discourse&server=https%3A%2F%2Fcommunity.apollographql.com&logo=discourse&color=467B95&style=flat-square)](http://community.apollographql.com/new-topic?category=Help&tags=mobile,client) [![Slack](https://img.shields.io/static/v1?label=kotlinlang&message=apollo-kotlin&color=A97BFF&logo=slack&style=flat-square)](https://app.slack.com/client/T09229ZC6/C01A6KM1SBZ) [![Maven Central](https://img.shields.io/maven-central/v/com.apollographql.cache/normalized-cache?style=flat-square)](https://central.sonatype.com/namespace/com.apollographql.cache) [![Snapshots](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fcentral.sonatype.com%2Frepository%2Fmaven-snapshots%2Fcom%2Fapollographql%2Fcache%2Fnormalized-cache%2Fmaven-metadata.xml&style=flat-square&label=snapshots&color=%2315252D&strategy=latestProperty)](https://central.sonatype.com/repository/maven-snapshots/com/apollographql/cache/normalized-cache/maven-metadata.xml) [![Revved up by Develocity](https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle&labelColor=02303A&style=flat-square)](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