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
  • An option to set a cache limit would be nice. Caching is okay, as long as you can clear the cache. Something like Mastodon caching. You can prune all remote media via tootctl

    Turning completly off will increase the traffic of all other instances -> longer loading times 🤔

    • 100% agreed. I don't have the time to make a change that complex right now, so I did a fairly blunt approach with the hope that larger instances will keep caching on to reduce load.

You've viewed 21 comments.