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

  • GolfNovemberUniform
    link
    fedilink
    arrow-up
    4
    ·
    9 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
      ·
      9 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
        link
        fedilink
        arrow-up
        2
        ·
        9 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+