Skip to content

Replace playerdb.co with mowojang.seraph.si, lower extreme cache TTL#4

Open
aidendotgg wants to merge 3 commits into
25Karma:masterfrom
aidendotgg:master
Open

Replace playerdb.co with mowojang.seraph.si, lower extreme cache TTL#4
aidendotgg wants to merge 3 commits into
25Karma:masterfrom
aidendotgg:master

Conversation

@aidendotgg
Copy link
Copy Markdown

@aidendotgg aidendotgg commented May 13, 2026

Playerdb.co takes a long time to update the usernames of players and is generally pretty slow. mowojang.seraph.si is simply just a proxy of the actual mojang API and a mirror of the well known mowojang.matdoes.dev but with better hardware.

Also the 30 day cache expiry is pretty overkill so I lowered it to 1 day as I don't see any reason for it to be that long. Its only causing issues when searching by username. I swapped a username between an account nearly a week ago and its still looking up the old account when putting the username in. Its not because the old account hasn't logged into hypixel since the name change because it has, it seems to be the extremely long cache's doing. According to the comment "If this changes, update the Tip.js file in 25Karma" you will have to update that file.

@aidendotgg
Copy link
Copy Markdown
Author

also preferably clear cache after pushing these changes to prod

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