Android + Picasso: changing URL cache expiration

Disk caching happens “below” Picasso inside the HTTP client. In fact, this process is completely transparent. We never explicitly ask for a cached-version or an internet-version, the HTTP client will make the decision internally and do the right thing.

Because we opted to leverage the HTTP client for caching, we’re offered very little control over how the caching actually happens. To answer your question, no, there is no way to tell Picasso (or OkHttp) to cache an image for longer than its headers allow.

Leave a Comment