Apollo and offline first mobile applications


#1

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


#2

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


#3

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


#4

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?


#5

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.


#6

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”


#7

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