In Effective Android HTTP Jesse Wilson mentioned the following:
Serving static resources like images?
Use a permanent URL and let it cache forever
I can only think about overriding the HTTP cache control header max-stale (
Cache-Control: max-stale=)with the highest possible value, is there another (better) way?
Best way is to configure your server to include a long max-age. For example, specify 365 days with this header:
If you want to enable unlimited caching on the client, you can use a long max-stale: