Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix caching issue #7

Merged
merged 1 commit into from
Dec 8, 2024
Merged

Fix caching issue #7

merged 1 commit into from
Dec 8, 2024

Conversation

KasperVaessen
Copy link
Collaborator

solves: #6

Problem was that data was cached per year. which means that only one day was cached with this, which was often the current day, since that is often the first requested day.

I now cached each leaderboard seperately and delete that cache entry if new data has been requested from the AoC servers.

@KasperVaessen KasperVaessen self-assigned this Dec 8, 2024
@KasperVaessen KasperVaessen merged commit 5e8e5eb into main Dec 8, 2024
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.

1 participant