Skip to content

Rewrite scoreboard cache - #197

Merged
Swan merged 1 commit into
mainfrom
scoreboard-cache-improvements
Oct 9, 2026
Merged

Swan merged 1 commit into
mainfrom
scoreboard-cache-improvements

Conversation

@AiAe

@AiAe AiAe commented Oct 9, 2026

Copy link
Copy Markdown
Member

There is now new route /v2/private/scoreboards/:md5/cache that we can call from Nameless to trigger scoreboard cache delete. Which also requires the header X-Internal-Secret with the internal api key we set in api.

How the caching works:
We have single redis entry that contains json array with all the types of scoreboards we can have for an map, that is later returned if found.
This now allows us to delete everything quickly without having to use scan or keys search first.

@Swan
Swan merged commit 04eb7aa into main Oct 9, 2026
1 check passed
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.

2 participants