Unfortunately, GET support does not exist in the Fauna GraphQL API. Since connections are made via HTTPS, proxies have no opportunity to cache responses.
The GraphQL API does not cache results for you because the cache could be invalid compared to the current state of the database. If we had a cache that was kept up-to-date, there would be little to no practical benefit over current performance.
You might be able to configure your own cache solution by using Apollo Client.
I’d like to piggyback on this thread and ask, does TanStack (Formerly React Query) work as a good alternative to Apollo Client? I’ve been debating which to use, or honestly not sure if they should be used together? Any insight you have would be appreciated!