IndexedDB stale-while-revalidate
Render from local data first. Fetch fresh data in the background and update the in-memory store. Revisit analysis estimated a 30% hit ratio, which made the idea worth building. The observed ratio was about 33%, and server and cache differed in about 4.7% of cases.