Cache hit rate

Cache hit rate is the fraction of data reads served from the client cache without making a network request. A higher cache hit rate reduces API traffic, while settings such as TanStack Query's staleTime and refetch behaviour influence how frequently cached data must be fetched again.

Minimal example

text
requests reaching API = 1,000,000 x 0.60 = 600,000

Learn this concept

Lesson 4.18 · Estimating mobile API capacity