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

feat: Cache HTTP responses #84

Merged
merged 4 commits into from
Nov 18, 2024
Merged

feat: Cache HTTP responses #84

merged 4 commits into from
Nov 18, 2024

Conversation

ReubenFrankel
Copy link
Owner

@ReubenFrankel ReubenFrankel commented Nov 17, 2024

Since data is generally only updated on race weekends and for fixes, we can implement HTTP caching to reduce the number of requests sent to the API. An expiration of 1 day seems like a reasonable starting point.

@ReubenFrankel ReubenFrankel added the enhancement New feature or request label Nov 17, 2024
@ReubenFrankel ReubenFrankel self-assigned this Nov 17, 2024
@ReubenFrankel ReubenFrankel reopened this Nov 18, 2024
@ReubenFrankel ReubenFrankel marked this pull request as ready for review November 18, 2024 05:00
@ReubenFrankel ReubenFrankel merged commit 0ce345d into main Nov 18, 2024
11 checks passed
@ReubenFrankel ReubenFrankel deleted the feature/http-cache branch November 18, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant