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

Implement WOT endpoint caching (GSI-1238) #28

Merged
merged 5 commits into from
Jan 8, 2025

Conversation

TheByronHimes
Copy link
Member

Adds the Cache-Control: max-age=30 header to the WOT endpoint responses. The 30 seconds comes from the constant that defines the life of the tokens. Alternatively, we could make the value configurable and pipe it in that way.

Dependencies were updated, along with the template files, so the file export declarations are sorted.

Bumps version to 2.0.7

@coveralls
Copy link

coveralls commented Jan 7, 2025

Pull Request Test Coverage Report for Build 12652892700

Details

  • 11 of 11 (100.0%) changed or added relevant lines in 7 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.1%) to 85.902%

Totals Coverage Status
Change from base Build 11816342842: 0.1%
Covered Lines: 457
Relevant Lines: 532

💛 - Coveralls

@TheByronHimes TheByronHimes merged commit 23758bb into main Jan 8, 2025
9 checks passed
@TheByronHimes TheByronHimes deleted the feature/implement_caching_GSI-1238 branch January 8, 2025 07:48
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.

3 participants