bumptech / bumptech/glide

[Feature Request] Support for automatic cache invalidation on http(s) images

Open
#5,266 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
35k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
8

Description

There are many ways to check when to re-download a file. As far as I know, most servers now support the `If-Modified-Since` header and there is also `ETag` and `last-modified`. The library could do a HEAD request to the server and try to determine using any of these 3 methods if the file needs to be re-downloaded or not (as an option of course).

As far as I understand, in order to implement this myself, I have to either re-make the library or do some junky stuff (eg override some classes by copying code from here). Neither of these options seems good and I think this feature should be standard on these kinds of libraries as they're mostly used to fetch images from the web.

Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.