17
Does lemmy clear out pictrs cache regularly on a schedule?
(futurology.today)
Support / questions about Lemmy.
I have about 20GB of cached images on my instance… Wish there was an easy way to delete it.
Yeah. I guess we could fetch all image ids from the database excluding those uploaded to our local instance, and loop them through the
DELETE /image/delete/{delete_token}/{file}
API. But I've no idea how to get thedelete_token
, seems like it's available only during image upload.