this post was submitted on 15 Nov 2023
59 points (96.8% liked)

Voyager

5585 readers
58 users here now

The official lemmy community for Voyager, an open source, mobile-first client for lemmy.

Download on App Store

Download on Play Store

Use as a Web App

Download on F-Droid

Rules

  1. Be nice.
  2. lemmy.world instance policy

Sponsor development! πŸ‘‡

Number of sponsors badge

πŸ’™

founded 1 year ago
MODERATORS
 

Device storage is a premium commodity. It would be great to see cache clearing and perhaps setting size limits.

all 26 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 1 year ago (1 children)

Yeh I don't see this on my Android device have only around 50mb cached and even that is on the upper end of what I have seen before. 1+gigs seems very extreme

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

The lowest I’ve seen it in iOS is 350MB. Which still seems insanely large for an app that’s about 30MB. Yes it’s gotta cache things but what community is posting 100MB gifs 12 times a day??

Edit: Turns out it’s that high because iOS lumps web apps in with Safari wen cache (apparently).

[–] [email protected] 9 points 1 year ago (1 children)

Just checked mine, it's at 2GB

[–] [email protected] 6 points 1 year ago

This no fine uh. No fine.

[–] [email protected] 6 points 1 year ago (1 children)

Is your device running low on free space? iOS should reclaim if your device is running low.

[–] [email protected] 0 points 1 year ago (2 children)

Why would Voyager need 1GB of storage???

[–] [email protected] 26 points 1 year ago (1 children)

Voyager doesn't explicitly store much. Less than a few MB. The rest is Safari cache (which is inside the Voyager app container).

Lots of it is probably Safari caching pictures and video. But, Safari is pretty good at cache management and will clear this out as storage is getting constrained. Just like RAM, if there's not much memory pressure, caching is more aggressive and takes advantage of the space.

Overall, it's a good thing. It means your device won't try to fetch the same picture many times over, which adds cost in data transfer to Lemmy administrators.

But again, the caching mechanisms are designed by Apple and shouldn't interfere with device storage, because iOS will clear caches if the device is more constrained on storage.

[–] [email protected] 5 points 1 year ago

Knowing iOS lumps web apps into a global safari cache is helpful. That means we can’t get a very accurate measure on iOS unfortunately. I can file a PR with Apple but that’s just never going to get made.

Still, I cleared out 600MB in just a few days. It all seems very suss based on my usage patterns.

[–] [email protected] 5 points 1 year ago (1 children)

Because you view a lot of content. And for avoid to load it each time, the app keep it cached.

[–] [email protected] 4 points 1 year ago (1 children)

36MB in mine... And I'm using it since the native app is available

[–] [email protected] 3 points 1 year ago (1 children)

Can you post a screenshot? iOS version?

[–] [email protected] 6 points 1 year ago

Just realized you are talking about iOS

I'm on android

[–] [email protected] 3 points 1 year ago (2 children)

It's not just you Voyager users. I left Liftoff to try Sync because it had the same problem accumulating too much cache.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

For now a workaround is to offload the app and reinstall it. Just grating I need to do that every few days. I think Apollo had the same problem.

Which could be solved by just setting a limiter and clear cache button in settings.

[–] [email protected] 1 points 1 year ago (1 children)

Sync caches a lot as well. Atleast sync for reddit used to

[–] [email protected] 1 points 1 year ago

Sync for Lemmy does as well. I've seen it go up to 1.5GB. I highly recommend running Cache Cleaner (FOSS) periodically.

[–] [email protected] 1 points 1 year ago (3 children)

Can you just clear it? Idk, that what I do.

[–] [email protected] 7 points 1 year ago

That is a mitigation, the post is a request for a resolution.

[–] [email protected] 1 points 1 year ago

I didn't kow it was possible but would love to delete it. I'm off to find out how!