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

  • meseek #2982OP
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    4
    ·
    8 months ago

    Why would Voyager need 1GB of storage???

    • aeharding@lemmy.worldM
      link
      fedilink
      English
      arrow-up
      27
      arrow-down
      1
      ·
      8 months 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
        arrow-up
        5
        ·
        8 months 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.

      • meseek #2982OP
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        9
        ·
        8 months ago

        I know how cache works and that’s not it. But thanks.