相关疑难解决方法(0)

如何使某些特定图像的 Glide 缓存失效

我正在编写一个应用程序,需要从互联网加载大量图像(漫画阅读器)。我需要缓存一些缩略图以供离线使用,其他任何图像都应在应用程序关闭时清除。

我在 Glide 页面上读到了一些关于缓存失效的内容,他们说最好的方法是更改​​内容 url,但是 Glide 如何知道它是旧内容的修改后的 url 还是新内容呢?我是新来的滑翔机。

https://github.com/bumptech/glide/wiki/Caching-and-Cache-Invalidation

预先感谢 :)

android caching image android-glide

5
推荐指数
1
解决办法
2595
查看次数

标签 统计

android ×1

android-glide ×1

caching ×1

image ×1