About Mobile apps
Log in Sign up
Aug 19, 2021, 14:23
tobi is writing bugs :terminal_cursor: @dumpsterqueer@superseriousbusiness.org

oho hello lovely cache that does exactly what i need in a nice simple way: github.com/ReneKroon/ttlcache

1
:garfield:‍fuchsiaaaaaaaaaaaaaaaaa @f0x@pixie.town
Follow

@dumpsterqueer ttl caches are neat, and I wrote some more advanced ones too :P https://git.pixie.town/f0x/synapse-media-proxy/src/branch/main/lib/caches.js

Aug 19, 2021, 14:25 · · 1 · 0 · 2
Aug 19, 2021, 14:26
tobi is writing bugs :terminal_cursor: @dumpsterqueer@superseriousbusiness.org

@f0x smarty pants!

1
Aug 19, 2021, 14:28
:garfield:‍fuchsiaaaaaaaaaaaaaaaaa @f0x@pixie.town

@dumpsterqueer they work surprisingly well too!

bottom three graphs show very nicely how the size always stays under max, while the amount of entries varies drastically :)
https://stats.pixie.town/d/rPBvoh6Gk/synapse-media-proxy?orgId=1&refresh=1m&from=now-2d&to=now

0
Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.

Resources

  • Terms of service
  • Privacy policy

Developers

  • Documentation
  • API

What is Mastodon?

pixie.town

  • About
  • v3.5.19patch-2024-07-04

More…

  • Source code
  • Mobile apps
v3.5.19patch-2024-07-04 · Privacy policy