Hope to add the option to set the cache upper limit
Checklist
- [X] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
- [X] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
- [X] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
- [X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- [X] This issue contains only one feature request.
- [X] I have read and understood the contribution guidelines.
- [ ] I optionally donated to support the Fossify mission.
Feature description
add or remove the cache size limit .
Why do you want this feature?
cache limit 250MB is tooooooooo small . it take so much time to reload the thumbnails.
Additional information
No response
We can't make the cache larger than 250 MB (library limit: https://github.com/bumptech/glide/wiki/Configuration#disk-cache). Also, problem with slow loading of thumbnails is known and reported here: https://github.com/FossifyOrg/Gallery/issues/136.
For me, the documentation reads like the 250MB is a default value that can be changed: https://github.com/bumptech/glide/blob/3.0/library/src/main/java/com/bumptech/glide/load/engine/cache/DiskCache.java#L18
According to the linked Wiki page: You can set the size of the disk cache using the InternalCacheDiskCacheFactory.
so happy to hear that!!!