SpinTheMic
Pro

Explain it in 60 seconds

Normalised vs document caches

Frontend Engineering · State Management and Data Fetching · Intermediate

What is the difference between a normalised cache and a document (query-based) cache?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Normalised: entities stored by ID; one copy.
  • Updates propagate everywhere.
  • Apollo, Relay, RTK entity adapters.
  • Document: each query result cached separately.
  • Simpler but may duplicate; invalidate by key.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics