Skip Navigation
Lemmy Support @lemmy.ml nick @campfyre.nickwebster.dev

FYI I made a patch for lemmy that turns off pictrs caching

github.com Adding a new config flag to disable pictrs caching for thumbnails by NickGeek · Pull Request #3897 · LemmyNet/lemmy

#3799 has a bug, so I fixed it up alongside simplifying the logic slightly and adding a config flag to opt in to this new behaviour. Currently live on https://campfyre.nickwebster.dev

Adding a new config flag to disable pictrs caching for thumbnails by NickGeek · Pull Request #3897 · LemmyNet/lemmy

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.

21

You're viewing a single thread.

21 comments
  • What's the use case for this? Reducing storage usage?

    • 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.

      • 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?

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

You've viewed 21 comments.