# The New Apollo Kotlin Normalized Cache

DevFeed: [The New Apollo Kotlin Normalized Cache](<https://devfeed.tech/articles/the-new-apollo-kotlin-normalized-cache-23541.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/the-new-apollo-kotlin-normalized-cache>)

Author: Benoit Lubek

Published: 2026-03-09T01:00:13Z

Content type: release

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [Cache](<https://devfeed.tech/topics/cache.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [versioning](<https://devfeed.tech/topics/versioning.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [announcement](<https://devfeed.tech/tags/announcement.md>), [apollo](<https://devfeed.tech/tags/apollo.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [client](<https://devfeed.tech/tags/client.md>), [client-library](<https://devfeed.tech/tags/client-library.md>), [collection](<https://devfeed.tech/tags/collection.md>), [community-feedback](<https://devfeed.tech/tags/community-feedback.md>), [development](<https://devfeed.tech/tags/development.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [garbage-collection](<https://devfeed.tech/tags/garbage-collection.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [guide](<https://devfeed.tech/tags/guide.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [repository](<https://devfeed.tech/tags/repository.md>), [stable](<https://devfeed.tech/tags/stable.md>), [version](<https://devfeed.tech/tags/version.md>), [versioning](<https://devfeed.tech/tags/versioning.md>)

## AI overview

Apollo Kotlin's new normalized cache v1 adds built-in Relay-style pagination merging, TTL expiration for types and fields (expired fields default to cache misses that trigger network fetches), and partial cache reads that can return available fields. It also provides APIs to remove unused data or trim the cache to a maximum size by dropping oldest records, and makes type-name prefixes on cache keys configurable. The SQL cache stores normalized records more efficiently for better performance and a smaller on-disk footprint. The library was released in a separately versioned repository so development could proceed without disrupting the existing stable library; existing users are directed to a migration guide.

## Source excerpt

Today, we're releasing the new cache library for Apollo Kotlin, the GraphQL client library for Android and Kotlin. Historically, caching has generated the most questions, tickets, and feedback, and we knew it was an area that deserved significant attention. To do that efficiently, we decided early on to create a new repository with its own independent name, artifacts, and versioning. This allowed us to iterate on this new version without disrupting the existing stable library.