dulnan / nuxt-graphql-middleware

GraphQL in the backend, fetch in the frontend. With TypeScript support.
https://nuxt-graphql-middleware.dulnan.net
MIT License
57 stars 11 forks source link

Is it possible to use it with nuxt-multi-cache? #39

Closed plcdnl closed 1 month ago

plcdnl commented 2 months ago

If yes, why here is not mentioned? https://nuxt-graphql-middleware.dulnan.net/features/caching.html

Currently caching is not supported server side, but you can easily implement it yourself using the doGraphqlRequest server option method [...]

timchesney commented 2 months ago

There's a lengthy discussion with an example Gist at the end that uses nuxt-multi-cache etc here: #25 Was just hunting around for that myself!

plcdnl commented 1 month ago

@timchesney it's precious, thank you!