this post was submitted on 19 Oct 2024
72 points (98.6% liked)

Connect for Lemmy App

2675 readers
2 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 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.

[–] BonerMan@ani.social 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.

[–] i_am_not_a_robot@feddit.uk 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.

[–] BonerMan@ani.social 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.

[–] i_am_not_a_robot@feddit.uk 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.

@kuro_neko@lemmy.ca

[–] BonerMan@ani.social 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.

[–] GissaMittJobb@lemmy.ml 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.

[–] otter@lemmy.ca 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