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

    • @aehardingM
      link
      English
      261 year ago

      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.

      • meseek #2982OP
        link
        fedilink
        English
        51 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.

    • @topinambour_rex
      link
      English
      51 year ago

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

        • @topinambour_rex
          link
          English
          41 year ago

          You should open a ticket on the github. You would got answer directly from the devs.