In short
Storing previously fetched API responses so repeat requests for the same data are instant, instead of always hitting the network.
How to learn this
- 1Notice how React Query caches queries by key automatically.
- 2Learn cache invalidation: when should cached data be considered stale?
- 3Compare a simple in-memory cache to a library's more sophisticated caching.
More topics at this stop
Stuck on this topic? Ask an Insider
Get 1:1 guidance from people who've walked this exact path — on the InsideEdge app.