Spring Boot GraphQL Tutorial #36 - Query Caching Server Side

Publicado em: 20 Janeiro 2022
no canal de: Philip Starritt
4,823
60

Hi!

In this episode we will learn how to cache GraphQL queries on the server side.

The GraphQLResponseCacheManager interface provides a way to inject and query a cache (redis, in-memory, caffeine etc) before the resolvers execute.

The GraphQL responses are stored along with a cache key. A subsequent request with the same distinct cache key will return the previous queries response.

This caching solution provides us with full flexibility as we have access to the query, variables, headers etc in the caching layer.

Hope you enjoyed the video

Cheers,
Philip

Spring Boot GraphQL caching pull request on Github:
https://github.com/philip-jvm/learn-s...

Spring Boot GraphQL Kickstart: https://github.com/graphql-java-kicks...

About spring boot graphq: https://www.graphql-java-kickstart.co...

GraphQL Java: https://www.graphql-java.com/


Nesta página do site você pode assistir ao vídeo on-line Spring Boot GraphQL Tutorial #36 - Query Caching Server Side duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Philip Starritt 20 Janeiro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 4,823 vezes e gostou 60 espectadores. Boa visualização!