The New Apollo Kotlin Normalized Cache
Blog post from Apollo
Apollo Kotlin has released a new normalized cache library aimed at enhancing the GraphQL client experience for Android and Kotlin, following significant community feedback. This version introduces features like out-of-the-box Relay-style pagination support, allowing automatic merging of paginated queries, and Time to Live (TTL) settings for cache expiration, which triggers network requests when data is outdated. Additionally, it supports partial cache reads, enabling retrieval of available data even if some fields are missing, and offers garbage collection and trimming APIs to manage cache size effectively. The cache keys are now configurable, improving efficiency by eliminating unnecessary prefixes, and the SQL cache has been optimized for better performance and reduced on-disk space. The library, developed in a separate repository to avoid disrupting the existing stable version, comes with a migration guide for current users and encourages feedback through various community channels.
No tracked trend matches for this post yet.
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.