Just checked mine, 1.6 gigs of cache. Anything over a couple hundred megs is extreme.
Liftoff!
A mobile client for Lemmy running on iOS and Android
3.4G here
Holy shit. I'm at 8.8gb
Time to go outside for a bit 😆
a
Same. There's no reason to not clear old cached images, it's very unlikely I'll go back and look at those old posts again.
Woah nice find. This is outta control. I think our new infinite scroll library will make this better. That should be in the next release and I'll personally keep a close eye on this. Pretty wild. Thanks for reporting!
LRU cache seems like a good choice for caching images. Then set a max size and/or age of items in the cache and evict as necessary. This is the defacto caching mechanism in Apps.
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
Every Android app needs to be better at handling cache. It's ridiculous how some apps can accumulate gigabytes of old crap, sometimes not even marked as cache so one needs to wipe all the data and set up the app again from scratch.
Many times i've seen people changing their phones because of low storage, and then have the same issue.
When cleaning apps cache colde solve the problem without spending any money.
I have SD Maid scheduled to clean apps cache once a day, most apps don't have more that 200MB of cache, and plenty of free storage.
On Liftoff can be easily fixed by cleaning cache on exit, some apps have this options so don't eat all of your storage.
I have SD maid too, but to actuality clear the caches automatically it needs accessibility services enabled, and that can totally fuck up Android security so I'm stuck with doing it manually. (Dunno if newer droid versions don't have this issue.)
There's no doubt in my mind that the removal of "clear all cache" button that used to be in Android was purely so that partners can sell more hardware.
I've begun to care about this when at one point I was running low on storage and found that even random apps like Revolut or a weather radar app can easily accumulate a gigabyte of garbage over time. So it's not a jab against Liftoff... Android apps overall just suck at this hard.
At least those that can export/import settings can be reset easily, but the rest... Ugh.
Definitely needs to be a priority fix.
0.9 GB on mine, just wiped it, thanks for the heads up!
Jesus. I just looked because of this post and had almost 10 freakin' gigs!
oh my I was at 35, I think I need to stop scrolling
Yeah... I just checked and had 4.2 GBs
Please Liftoff devs. I've cleared 1 GB about 4 times so far.
How to check on iOS?
I assume it’s Settings > General > iPhone Storage, and then search for Liftoff using the magnifying glass once the spinner clears.
Mine only shows 61MB in Documents and Data though so I wonder if iOS isn’t telling me everything or if there’a an Android-specific issue here.
Mine says 1.4 gb on iOS
What version of Liftoff are you on right now?
0.10.9
Oh that’s interesting. I was wondering if the cache was getting cleared each time a new version got installed on iOS and that’s why we’re not seeing the issue so much, but that rules it out. Thanks!
might be android-specific, mine says 250mb for documents & data
I was asking because I, too, have a few dozen MB
Mine is only 200mb, i'm safe for now