-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handler level plugins/middlewares (mocking, response-caching, rate limiting etc) #6030
Comments
I started to play with the cache today and set up a file-cache as per the docs. I was surprised to see that the cache file does NOT get populated with any data. I would have expected that at least the OpenAPI-based sources would leverage the cache for HTTP header-based caching so we could reduce the load on our downstream source services. If I read this issue and the GraphQL Mesh source code correctly, this use-case is not (yet ?) covered. Correct? What would you recommend to do in the meantime? Can we inject a custom fetch handler and implement caching on that level ourselves or do you have any other recommended path? 🤔 |
Actually, my bad. I should have seen this docu page earlier. 🙈 That actually seem to do what I am looking for. Sorry for the spam 😬 |
Let's make things clear at first :) |
In order to have mocking, response caching capabilities in the handler level
The text was updated successfully, but these errors were encountered: