I was wondering if these packages work well together?
apollo-datasource-mongodb and apollo-server-cache-redis
In my project I will have scalable instances of my GraphQL server, I have already implemented the mongodb datasource package and I was thinking to use the redis package to have a global cache solution for all scaled instances.
My hope is that when I clear the cache using the available methods of the mongodb package, that it would trigger the clearing of the cache on redis.
Is that possible or does it work already like this? I didn’t see any mention of this on the documentation or on the site.
Any help is appreciated.