System Design · Middle · Question 25 of 75

How would you build offline mode for a notes app?

Explanation

Offline-first: the shell comes from the SW cache, data is read and written locally, changes accumulate in a queue and are sent when the network returns (Background Sync or on the online event). Conflict resolution needs to be thought through.

Further reading

Problem with a question

System Design · Middle · question 25

Test yourself

Take the System Design · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz