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

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