I was getting close to hitting the end of my free object storage so there was time pressure involved haha.

Seems to work but I haven’t tested it too much. Currently running on my instance.

  • Nerd02
    link
    fedilink
    English
    31 year ago

    What’s the use case for this? Reducing storage usage?

    • nickOPA
      link
      English
      91 year ago

      Yep! There’s a pretty rapid growth of pictrs data that’s never going to go away from all the images being cached for thumbnails on my instance.

      It’s starting to get to ~1GB per week at this point.

      • Nerd02
        link
        fedilink
        English
        31 year ago

        Holy shit, alright, I think I might be interested in this. I also have a growing storage problem that would need to solve. How does a patched instance look? Do you still see thumbnails? Can you share a screenshot?

          • Nerd02
            link
            fedilink
            English
            21 year ago

            Thanks for sharing! I see it takes a few ms to load the thumbnail but it’s a worthy tradeoff if it saves that much in storage. I’ll save this post and come back to your PR once it gets merged in, too lazy to apply it myself. :)

    • BlackEco
      link
      fedilink
      61 year ago

      Exactly. Currently Lemmy copies thumbnail and images from remote instances locally.