@SolSoCoG @g Other than the obligatory media and preview card expiry, remove-orphans can also be somewhat useful, but it looks up every media file, which likely is expensive on external object storage. The storage system sometimes forgets to remove files when posts are deleted.
In my personal setup, I also preventively block remote media from instances that send out a lot of files (the admin panel shows some info about this), but that's probably less workable when you have users.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!