this post was submitted on 19 Oct 2024
74 points (98.7% liked)

Connect for Lemmy App

2675 readers
1 users here now

A community for the mobile app Connect for Lemmy.

Links

founded 1 year ago
MODERATORS
 

I've enjoyed using Connect but I've got no clue how it got this big.

you are viewing a single comment's thread
view the rest of the comments
[–] BearOfaTime@lemm.ee 8 points 3 weeks ago (4 children)

Apps have to download the thumbnails and whatever you actually click on.

Though that is a shitload.

Get SDMaid. Even the free version makes cleanup a lot easier.

[–] GissaMittJobb@lemmy.ml 10 points 3 weeks ago

It's standard practice to cache images when displaying, as an image viewed once is likely to be viewed again, and then it's good to save on the data and latency by loading it from disk (or even memory).

However, it's also standard practice to have an upper size boundary on this cache and to implement an eviction mechanism for the cache once it has reached its capacity.

This is probably a case of misconfiguration or something overlooked during implementation.

[–] BonerMan@ani.social 10 points 3 weeks ago (1 children)

I think the app needs to have a regular cash wipe build in, it causes Crashes for me.

[–] i_am_not_a_robot 4 points 3 weeks ago (1 children)

Yeah, mine freezes on open sometimes which I suspect is the cache.

It should have an upper limit with the oldest access time items being evicted first.

[–] BonerMan@ani.social 1 points 3 weeks ago (1 children)

It should be capped at 750mb it doesn't need more and it wouldn't be a problem if it just deletes the oldest stuff when its not needed anymore.

[–] i_am_not_a_robot 3 points 3 weeks ago (1 children)

Yeah, that's what I mean. But it needs to be done by access time, not oldest item, as you don't want frequently used things to be evicted.

@kuro_neko@lemmy.ca

[–] BonerMan@ani.social 2 points 3 weeks ago

True, didn't think about that, but yeah shure, your own PFP, banner and some community icons should probably stay in.

[–] otter@lemmy.ca 5 points 3 weeks ago* (last edited 3 weeks ago)

SDMaid actually open source (GPLv3) now!

The dev rebuilt the app for modern Android and made it open source

https://github.com/d4rken-org/sdmaid-se