this post was submitted on 25 Jun 2023
6 points (87.5% liked)

Selfhosted

39931 readers
463 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I.E. delete images in the instance that are over X days old and aren't saved by a user?

If not, I will be writing one.

top 7 comments
sorted by: hot top controversial new old
[–] BombOmOm@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (2 children)

Might also make sense to, if not delete them, mark them as old and move them to a different storage location/server. Would enable them to be put on, say a spinner, or on a lower-powered server with spinners.

[–] fmstrat@lemmy.nowsci.com 2 points 1 year ago

And created. Will be making a new post for it, and look at moving to cold storage later. https://github.com/Fmstrat/lpp

[–] fmstrat@lemmy.nowsci.com 1 points 1 year ago

Good call. I'm about to look at methodologies now, first I'm posting a Community Seeder for new or small instances here momentarily. The purgePost API could work, but I'm going to need direct DB access to get a list of saved and commented on items for all users anyway, so this may be deeper. I'm

[–] palitu@lemmy.perthchat.org 1 points 1 year ago (1 children)

Hahah, I was just about to say that there is a post in selfhosted that will do this.

Nope, itsa you! Great job!

[–] rs5th@lemmy.scottlabs.io 0 points 1 year ago (1 children)

I’m pretty sure pict-rs only caches images for a week. The cache being thumbnails, etc for links that are posted on any instance federated with yours.

[–] fmstrat@lemmy.nowsci.com 1 points 1 year ago

What makes you think this?