title: How to implement redis cache in apollo v3? . Need full example implementation using npm package apollo-server-cache-redis
body: <p>Documentation provides only configuration like below. But i need how to <strong>set</strong> and <strong>get</strong> values from configured redis ?</p>
  <pre><code>const { BaseRedisCache } = require('apollo-server-cache-redis');
  const Redis = require('ioredis');
  
  const server = new ApolloServer({
    typeDefs,
    resolvers,
    cache: new BaseRedisCache({
      client: new Redis({
        host: 'redis-server',
      }),
    }),
    dataSources: () =&gt; ({
      moviesAPI: new MoviesAPI(),
    }),
  })
  </code></pre>
  <p>;</p>