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

  • Sentau@feddit.de
    link
    fedilink
    English
    arrow-up
    9
    ·
    8 months ago

    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

    • meseek #2982@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      8 months 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).

      • aͮͫͨ͋ͤͣ͌̏lex͒̃ͪ̃ͨ͛́͂ͪ͗̏ͫͮ̂@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 #2982@lemmy.caOP
          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.

  • henfredemars@infosec.pub
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 months ago

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

    • meseek #2982@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      8 months 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.

  • pimento64@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    19
    ·
    8 months ago

    Device storage is a premium commodity

    I was about to make fun of you for that, turns out I slipped into a different timeline or something. I was 100% certain Apple added a spot for microSD cards in iPhone SIM trays several years ago so they could sell special white ones and pretend shipping their phones with 32 GiB of device storage was helping to save the environment. Too many lead paint chips I guess. Device storage is NOT a premium commodity unless it’s enforced that way, you can get 1TB microSD cards for $95 now.