10
cache (lemmy.world)

I've gone through the setting but couldn't find an option to delete cache on app exit.

Is this possible? It seems like connect is generating the largest cache storage of all my apps

you are viewing a single comment's thread
view the rest of the comments
[-] GolfNovemberUniform@lemmy.ml 4 points 9 months ago

It saves previews of images and that kind of stuff. Deleting it automatically after every app restart can result in worse speed (because the images have to be redownloaded every time), increased network traffic usage (same reason) and even memory wear on some devices (it doesn't really like write cycles and can break down after a certain amount of them)

[-] cosmicrookie@lemmy.world 2 points 9 months ago

Ok. That makes sense. Thanks! Maybe a timeout for the saved previews? I expect people won't be looking at the same posts again after a week or so?

[-] GolfNovemberUniform@lemmy.ml 2 points 9 months ago

You can submit a feature request on Github but I think it already has some kind of a cache cleaning mechanism implemented. If it didn't, it would grow up to 20G+

this post was submitted on 23 Feb 2024
10 points (100.0% liked)

Connect for Lemmy App

2661 readers
1 users here now

A community for the mobile app Connect for Lemmy.

Links

founded 1 year ago
MODERATORS