YunoHost-Apps / gotosocial_ynh

GoToSocial package for YunoHost: an ActivityPub social network server, written in Golang.
https://gotosocial.org
Other
10 stars 5 forks source link

Implement media caching #102

Closed OniriCorpe closed 1 year ago

OniriCorpe commented 1 year ago

Problem

Solution

PR Status

lapineige commented 1 year ago

Oh that's why the storage usage was so low… Do you have an idea of the storage impact ? Any command to clean/limit the amount of cache ?

OniriCorpe commented 1 year ago

It's caching of media served by the GTS server, not the received ones by the GTS server

It's to lighten the workload on the GTS server when there's a high demand for media (when a post is relayed a lot, for example)

Not for storing distant medias, which is managed by the GTS server itself (this is configured on the GTS config file)

So the storage impact of this PR is non existent!

lapineige commented 1 year ago

Oh, nice ! :+1: Thanks for doing this :tada: