Open fauno opened 6 months ago
Yeah we really need a caching layer with a TTL.
Nice to have by the end of M4 if we can, but low priority.
This could be used to replace the default fetch
: https://www.npmjs.com/package/node-fetch-cache
We should use the storage location via the fs.
We should also have a large TTL, maybe a few hours at least? Even a day?
We should also have a large TTL, maybe a few hours at least? Even a day?
from what i've seen so far while developing caching on the side of the jekyll plugin, mastodon goes a good job at caching (it uses rails), so letting the caching library follow the remote instance headers for ttls should be ok
I added
console.log
tosignedFetch()
andmentionToActor
. When performing an approval action for a single activity, I see all of these requests logged.