【问题标题】:Picasso: URL cache expirationPicasso:网址缓存过期
【发布时间】:2016-11-21 22:24:23
【问题描述】:

我正在开发显示来自 URL 的图像的 android 应用程序。为此,我使用Picasso library,它运行良好。但是,我认为它的缓存时间取决于图片 URL 的 headers

我为图像 URL 标头设置了 Cache-Control:max-age=0,而毕加索只缓存了几天,我想存储这些图像超过几天。请帮我找出解决办法。

【问题讨论】:

标签: android caching cache-control picasso


【解决方案1】:

根据this answer,没有办法告诉毕加索使用一些自定义缓存周期。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-10-01
    • 2018-08-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-09-23
    相关资源
    最近更新 更多