The bug: a user changes something on the web, opens the app, and sees the old value. Pull to refresh doesn't help. Ten minutes later, or after reinstalling, it's fine. Nobody on the team wrote a cache, so everyone looks for a bug in the backend first.
Often there is a cache, and it's the HTTP cache built into the networking library. It follows the response headers your server sends, including the headers it doesn't send.
Who caches by default
iOS, URLSession : URLSession.shared and the default configuration use URLCache.shared , with the cache policy .useProtocolCachePolicy . So every app has an HTTP cache, in memory and on disk, unless someone turns it off.
Android, OkHttp : no cache until you add one with Cache(directory, maxSize) on the OkHttpClient.Builder .…