Caching made simple on Android
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.