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

Set headers to prevent caching of Hubble class measurement count responses #124

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

Carifio24
Copy link
Member

This PR updates the response headers for the HubbleDS class measurement count endpoints to try and prevent browser caching. This is necessary because this endpoint will be repeatedly called when checking the class size in stage 4, and we need a fresh value each time so that the app knows when to allow the student to advance.

@Carifio24 Carifio24 merged commit 85500f1 into cosmicds:main Aug 1, 2024
1 check passed
@Carifio24 Carifio24 linked an issue Aug 2, 2024 that may be closed by this pull request
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.

Add endpoint for getting class size
1 participant