I’ve gone through the setting but couldn’t find an option to delete cache on app exit.

Is this possible? It seems like connect is generating the largest cache storage of all my apps

    • cosmicrookie@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      4 months ago

      Yeah I’ve done that several times. It would be great if this could be automated to delete cache when I exited the app. I don’t know what is saved there but it does not seem to affect my experience when I log back in after deleting the cache

      • GolfNovemberUniform@lemmy.ml
        link
        fedilink
        arrow-up
        4
        ·
        4 months ago

        It saves previews of images and that kind of stuff. Deleting it automatically after every app restart can result in worse speed (because the images have to be redownloaded every time), increased network traffic usage (same reason) and even memory wear on some devices (it doesn’t really like write cycles and can break down after a certain amount of them)

        • cosmicrookie@lemmy.worldOP
          link
          fedilink
          arrow-up
          2
          ·
          4 months ago

          Ok. That makes sense. Thanks! Maybe a timeout for the saved previews? I expect people won’t be looking at the same posts again after a week or so?

          • GolfNovemberUniform@lemmy.ml
            link
            fedilink
            arrow-up
            2
            ·
            4 months ago

            You can submit a feature request on Github but I think it already has some kind of a cache cleaning mechanism implemented. If it didn’t, it would grow up to 20G+

      • Kuro@lemmy.caM
        link
        fedilink
        arrow-up
        2
        ·
        4 months ago

        Caching should be a bit improved on 1.0.174. Right now things live in the cache for 14 days before they’re removed.