Back to Developer Roadmap

Caching

src/data/roadmaps/graphql/content/caching@UYwuUVTeurwODV4_Kdt_W.md

4.0525 B
Original Source

Caching

Caching in GraphQL improves performance by storing query results for reuse. Strategies include HTTP caching, response caching, dataloader for batching requests, and normalized caching at the client level to reduce redundant API calls and improve user experience.

There are several types of caching that can be used in GraphQL:

  • Client-side caching
  • Server-side caching
  • CDN caching

Visit the following resources to learn more: