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.
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
9 Comments
BombOmOm@lemmy.world · 15 pts · 3y
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 · 11 pts · 3y
And created. Will be making a new post for it, and look at moving to cold storage later. https://github.com/Fmstrat/lpp
BombOmOm@lemmy.world · 1 pts · 3y
That was some quick work. A+!
fmstrat@lemmy.nowsci.com · 6 pts · 3y
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
purgePostAPI 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'mpalitu@lemmy.perthchat.org · 3 pts · 3y
Hahah, I was just about to say that there is a post in selfhosted that will do this.
Nope, itsa you! Great job!
fmstrat@lemmy.nowsci.com · 1 pts · 3y
Thanks!
rs5th@lemmy.scottlabs.io · 2 pts · 3y
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 · 2 pts · 3y
What makes you think this?
rs5th@lemmy.scottlabs.io · 2 pts · 3y
This setting in the pict-rs source. It was removed 4 days ago though, so maybe it’s no longer used? Unsure.