HomeComputer ScienceOffline Data Cache

📴 Offline Data Cache

Watch a mobile app's local-first read cache in action: tune TTL, stale-while-revalidate window and network latency to see how cache-hit, stale-hit and cache-miss reads behave online and offline, and how hit rate responds.

Computer Science2DEasy60 FPS📱 Mobile-adapted⇄ 3D version
mobile-offline-support ↗ Open standalone
⚙ Under the hood

A local-first read cache with a staleness window ensures quick access to data within its Time-to-Live (TTL) period. Stale hits can trigger background refreshes, while misses block on the network or fail offline.

mobileofflinecachenetwork

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)