I don’t like every app having its own max size, I’d hope Android at some point starts making an automatic cache control tool system-wide (that’s not a third party app) but it seems we’re stuck with this mechanism
It is a bit of wishful thinking, but could be cool if they had an AndroidX package with some kind of global caching system. Problem is though, how do you make a caching mechanism that can fit all use cases.
Start with LRU and maybe a frequency counter to keep frequently useful data. Then go from there. Same as most apps do themselves right now but redistribute as needed; slowly take a bit away from all other apps when one app needs more
I don’t like every app having its own max size, I’d hope Android at some point starts making an automatic cache control tool system-wide (that’s not a third party app) but it seems we’re stuck with this mechanism
It is a bit of wishful thinking, but could be cool if they had an AndroidX package with some kind of global caching system. Problem is though, how do you make a caching mechanism that can fit all use cases.
Start with LRU and maybe a frequency counter to keep frequently useful data. Then go from there. Same as most apps do themselves right now but redistribute as needed; slowly take a bit away from all other apps when one app needs more