Apollo and offline first mobile applications

Is Apollo capable of caching data for offline usage on mobile applications?

4 Likes

See here: https://github.com/apollostack/apollo-client/issues/424

Essentially, there isn’t an integrated approach yet, but you can look into https://github.com/rt2zz/redux-persist as Apollo-client uses redux for state management

Ah I see, thanks for your help @ryanswrt :slight_smile:

Am I the only one who questions the merit in investing in “offline first”?

With cuckerburg’s drones and google’s loon project, how big is the market of people without wifi going to be in 5-10 years?

We see it in for example big buildings like warehouses and factories. Not environments where you have access to a (stable) connection always when working.

1 Like

Offline first can also reduce server load / downtime for users, as you can throttle sync without killing the service, and getting that last 100ms gain in page load speed can also go a ways to making an app feel “faster”

1 Like

Subway tunnels, thunderstorms, brownouts, hardened infrastructure… lots of situations and places were offline access is needed and wifi/cellular is unavailable.

3 Likes