Skip to content

Glossary · Web, apps and product

Offline-first

Offline-first is a way of building an application so that working without a connection is the normal case: it stores data on the device and syncs with the server when there is a network.

Offline-first: the details

In a conventional app, every action waits for the server’s reply; with no signal, the screen just keeps loading. In an offline-first app, the action is saved to a local database and the interface responds instantly. A queue sends the changes in the background when the signal returns, and the app shows clearly what has been sent and what is still pending.

The hard part is conflict: two people change the same record while offline. You have to decide in advance who wins—the latest change, the server, a field-by-field merge or a person—and make the uploads idempotent so that a retry duplicates nothing. You also have to decide which data gets downloaded, because not everything fits and not everything should travel on a phone. A PWA can work this way too, with more limits than a native app.

Offline-first in a project

It’s the starting point for the field apps we build: work reports, proofs of delivery, maintenance checklists. We write down the conflict rule for each piece of data and test the app in airplane mode before handing it to anyone.

On this site

Where we apply it

All services

Glossary

Related terms

See the whole glossary

Get started

Does this come up in your project?

Tell us which system you have and what is still done by hand. We’ll tell you where we would start and whether it fits.

Before you write, see how we price a project or our solutions by department.

Fig. 07Morse keyH · E · L · L · O