tvl-depot/users/tazjin/tgsa
Vincent Ambo 89f25b431d feat(tazjin/tgsa): Expire cached telegram entries after one hour
Telegram expires certain links in messages after some (unknown) amount
of time; this commit is the first step to working around that by
providing an image URL proxy.

In order to do that, we tick two important boxes here:

1. Store an extensible data structure in the cache.
2. Expire them periodically.

Change-Id: Iba192d8b71db4493c942d1baf5680bd086f8f60b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5607
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-05-14 22:31:31 +00:00
..
src feat(tazjin/tgsa): Expire cached telegram entries after one hour 2022-05-14 22:31:31 +00:00
.gitignore feat(tazjin/tgsa): Implement initial tg embed -> BBcode features 2022-04-16 20:35:01 +00:00
Cargo.lock fix(tazjin/tgsa): Preserve newlines in messages 2022-04-20 11:02:44 +00:00
Cargo.toml fix(tazjin/tgsa): Preserve newlines in messages 2022-04-20 11:02:44 +00:00
default.nix feat(tazjin/tgsa): Implement initial tg embed -> BBcode features 2022-04-16 20:35:01 +00:00