How to cache GraphQL response


Hello, I am trying to cache my GraphQL response on Redis. I wold like from the community about the best way to do this. Got a way to do it from plugins? Basically I want make a md5 hash from some operations and keep for a while on my Redis Cache, but I don’t know where I do it.

Thank you


Hey @cristiandean, can you explain more about the plugin you’re building so I can make sure we give you the right advice?


Hi @kgardnr, basically I want cache the comments creating a layer between the client and mongo. I want know if it’s possible. My idea is don’t need parse the GraphQL query, I want use it as a hash for use as key of my cache.


And what’s your goal of doing this?


I’m trying improve Talk performance for use in a large Portal.