An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

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)
[![OSS Snapshots](https://img.shields.io/nexus/s/com.apollographql.cache/normalized-cache?server=https%3A%2F%2Fs01.oss.sonatype.org&label=oss-snapshots&style=flat-square)](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.