Flax@feddit.uk to Selfhosted@lemmy.worldEnglish · 2 months agoWhat self hosting feels like (It's painful, please help 🥲)feddit.ukimagemessage-square107fedilinkarrow-up1592arrow-down122
arrow-up1570arrow-down1imageWhat self hosting feels like (It's painful, please help 🥲)feddit.ukFlax@feddit.uk to Selfhosted@lemmy.worldEnglish · 2 months agomessage-square107fedilink
minus-squareschizo@forum.uncomfortable.businesslinkfedilinkEnglisharrow-up1·2 months agoMy favorite thing is purging remote cached media. You need a timestamp, which is fine. You just need to figure out how many miliseconds since the unix epoch the media you want to purge was uploaded, and then offset the time to only purge that old or older. Easy!
My favorite thing is purging remote cached media.
You need a timestamp, which is fine.
You just need to figure out how many miliseconds since the unix epoch the media you want to purge was uploaded, and then offset the time to only purge that old or older.
Easy!