apollo-server-redis-cache
Installation
$ npm install apollo-server-redis-cache
Usage
Start redis server
$ redis-server
const _schema = /* your schema */const PORT = 3000; const app = ; const redisCache = cache: true key: 'asrc' ttl: 60 httpHeader: 'X-My-Cache' ; app; app;