Skip to content

Commit

Permalink
fix Apollo graphql blog link
Browse files Browse the repository at this point in the history
  • Loading branch information
flowolf committed Mar 2, 2024
1 parent bdec337 commit 7a0903d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/graphql/advanced/0-clients.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ In the majority of applications, you'll want to maintain a cache of the data tha

Generally, when caching data, the intuition is to put information that's fetched remotely into a local _store_ from where it can be retrieved later on. With GraphQL, the naive approach would be to simply put the results of GraphQL queries into the store and simply return them whenever the same query is sent. It turns out this approach is very inefficient for most applications.

A more beneficial approach is to _normalize_ the data beforehand. That means that the (potentially nested) query result gets flattened and the store will only contain individual records that can be referenced with a globally unique ID. If you want to learn more about this, the [Apollo blog](https://dev-blog.apollodata.com/the-concepts-of-graphql-bc68bd819be3) has a great write-up on the topic.
A more beneficial approach is to _normalize_ the data beforehand. That means that the (potentially nested) query result gets flattened and the store will only contain individual records that can be referenced with a globally unique ID. If you want to learn more about this, the [Apollo blog](https://www.apollographql.com/blog/the-concepts-of-graphql#caching-graphql-results) has a great write-up on the topic.


### Build-time Schema Validation & Optimizations
Expand Down

0 comments on commit 7a0903d

Please sign in to comment.