34 points

Just checked mine, 1.6 gigs of cache. Anything over a couple hundred megs is extreme.

permalink
report
reply
17 points

3.4G here

permalink
report
parent
reply
15 points

Holy shit. I’m at 8.8gb

permalink
report
parent
reply
15 points

Time to go outside for a bit 😆

permalink
report
parent
reply
10 points

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.

permalink
report
parent
reply
31 points

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!

permalink
report
reply
28 points

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.

permalink
report
reply
3 points

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

permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
20 points
*

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.

permalink
report
reply
4 points

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.

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply
8 points

Definitely needs to be a priority fix.

permalink
report
reply

Liftoff!

!liftoff@lemmy.world

Create post

A mobile client for Lemmy running on iOS and Android

Community stats

  • 1

    Monthly active users

  • 327

    Posts

  • 2K

    Comments