Apollo Cache Router
JSON →Apollo Cache Router is a utility that routes GraphQL operations to different caches based on directives or query names. Version 1.1.6, last updated in 2019, it extends Apollo Client's cache layer by allowing multiple InMemoryCache instances and custom routing logic. It supports TypeScript, uses ESM imports, and is useful for separating client-only and network GraphQL data. Differentiates from standard Apollo Cache by enabling conditional cache selection via a routing function and cache overrides for lifecycle methods. Requires apollo-cache and graphql as peer dependencies.
Traffic · last 30 days stale · no recent hits
total hits 14
actors 3 distinct systems
last hit 21d ago human
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇪🇸 Spain · 🇫🇷 France
Resources
packageapollo-cache-router ↗
API endpoints
full doc /v1/registry/apollo-cache-router