Caching made simple on Android

Matthew Dolan
5 min readOct 30, 2017

Developing for the next billion users isn’t just about making your app as small as possible but also requires us to (re-)think our network connectivity.

With only 43% of the world having access to a 4G signal it’s easy to see why Google is pushing developers to optimise networking with their Connectivity for billions guidance.

An offline-first architecture initially tries to fetch data from local storage and, failing that, requests the data from the network. After being retrieved from the network, the data is cached locally for future retrieval.

--

--

Matthew Dolan

Matt Dolan has been eating doughnuts and developing with Android since the dark days of v1.6.