{"library":"apollo-simple-cache","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.4.3","tags":["javascript","cache","apollo","apollo-client","Apollo Client","graphql","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install apollo-simple-cache","imports":["import { SimpleDocumentCache } from 'apollo-simple-cache';","import { OptimizedNormalizedCache } from 'apollo-simple-cache';","import type { SimpleDocumentCacheOptions } from 'apollo-simple-cache';"]},{"cmd":"yarn add apollo-simple-cache","imports":[]},{"cmd":"pnpm add apollo-simple-cache","imports":[]}],"homepage":"https://github.com/jet2jet/apollo-simple-cache","github":"https://github.com/jet2jet/apollo-simple-cache","docs":null,"changelog":null,"pypi":null,"npm":"apollo-simple-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}