apollo-proxy-cache

JSON →
library 10.0.1 ·javascript
verified Jun 7, 2026

Apollo Link and Express middleware that caches GraphQL queries using a @cache directive. Version 10.0.1 supports Apollo Client 3, Express 4, and any GraphQL >=14. It provides an in-memory cache (Map-based) and a Redis backend. Key differentiator: server-side caching for SSR to reduce initial render time, with a proxy that strips the directive and serves cached responses locally. It uses http-proxy-middleware to forward non-cached queries. Release cadence is semantic-release based, with frequent minor updates.