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
[–] [email protected] 8 points 1 month 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.

[–] [email protected] 10 points 1 month 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.

[–] [email protected] 10 points 1 month ago (1 children)

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

[–] [email protected] 4 points 1 month 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.

[–] [email protected] 1 points 1 month 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.

[–] [email protected] 3 points 1 month 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.

@[email protected]

[–] [email protected] 2 points 1 month ago

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

[–] [email protected] 5 points 1 month ago* (last edited 1 month 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