I am making a request like below, but i want to know if downloadOnly checks the cache for the image first?
FutureTarget<File> future = Glide.with(applicationContext)
.load(yourUrl)
.downloadOnly(500, 500);
File cacheFile = future.get();
My main issue is that the image in yourUrl is already loaded in the cache, and i need a synchronous way to retrieve the image from the cache in a background thread.
The code above works, but i need to know if there is a cache check before downloadOnly. Thanks.