Client-Side and Mobile Data Persistence Questions
Storing data on devices and clients: embedded and mobile databases (SQLite and similar), local caching, offline-first persistence and sync, and durable save/state systems for applications and games. Covers constrained-storage design, conflict resolution on sync, and persisting state reliably outside a central server. Serves mobile and game development interviews.
System-design: Design a client-side strategy for an offline-first Progressive Web App that supports creating and editing content offline, queues operations, retries with exponential backoff, and achieves eventual consistency with the server. Describe storage choices, queue format, conflict detection, UI feedback for sync status, and how to bound queue size.
Architect a Progressive Web App (PWA) for an e-commerce site that supports offline browsing of previously viewed products, preserving an 'add to cart' action offline and synchronizing it when the user is online. Detail service worker caching strategies, use of IndexedDB for offline cart storage, background sync and retry logic, cache invalidation/versioning of assets, and security considerations you must address.
That is every published Client-Side and Mobile Data Persistence question for Frontend Developer so far. Browse the other topics in this category, or practice this one interactively.