apollo-simple-cache

JSON →
library 0.4.3 ·javascript
verified Jun 7, 2026

A lightweight cache library for Apollo Client (v0.4.3, updated ~2024) providing two simplified cache implementations: SimpleDocumentCache (a fast per-query document cache) and OptimizedNormalizedCache (a normalized cache optimized for read/write performance, often faster than Apollo's InMemoryCache). Ships TypeScript types, requires Node >=20, and has peer dependencies on @apollo/client ^3.13.8 || ^4 and graphql ^15 || ^16. Differentiators include explicit control over cache keys, optimized reads, and a simpler API surface compared to Apollo's built-in caches.