Hi!
First of all, thanks for the perfect example, this is super helpful and I can’t understand how it’s not a simple config option on the strapi graphql plugin.
However, in case anyone else arrives here and finds themselves in my situation, where you implemented the cache plugin exactly by the book but it just seems to be ignored:
I got this to work only in version 0.9.0 of apollo-server-plugin-response-cache
, as the async rewrite of the hooks in newer versions apparently made apollo ignore them (perhaps this is due to strapi using apollo server 2?)
Hope this might save others the time I spent hunting for a solution >_>