Skip to content

Improve caching#47

Merged
64ArthurAraujo merged 4 commits intomasterfrom
better-cache
Mar 31, 2026
Merged

Improve caching#47
64ArthurAraujo merged 4 commits intomasterfrom
better-cache

Conversation

@64ArthurAraujo
Copy link
Copy Markdown
Member

No description provided.

Make LyricsCache map lyrics by video id instead of the vtt filename, this simplifies the logic as the request to the database is made only once and allows the cache to be expanded
To prevent multiple repetitive requests, save remote lyrics into the cache
Since all of them throws, it can be added to the method signature instead of being ignored with an SneakyThrows
@64ArthurAraujo 64ArthurAraujo merged commit 6ed45ef into master Mar 31, 2026
2 checks passed
@64ArthurAraujo 64ArthurAraujo deleted the better-cache branch March 31, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant