I’m a great fan of both Redis and GraphQL. You’ll find plenty of articles about them around on my site. Although I’ve showed many examples of GraphQL and Apps Script, it was never possible to connect up Apps Script to Redis, because redis doesn’t use HTTP to communicate between Client and Server. I’ve come across upstash.com (with a free tier), that fronts a redis database with a GraphQL API. So here’s how to hook it up to Apps Script.
Redis is a great caching solution, and using it means we are not limited to caching within the same platform. This means you can easily share data between Apps Script and Node and well, anything. Here's a library to make it easy