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

API cache control #3481

Merged
merged 3 commits into from
Jun 23, 2019
Merged

API cache control #3481

merged 3 commits into from
Jun 23, 2019

Conversation

jbrooksuk
Copy link
Member

Closes #3479


This adds the Cache-Control middleware to the status endpoint of a max-age of now + 30 seconds. Before this gets merged, the added time needs to be variable (with a default of 30?) so that other endpoints can use it as needed.

Ping @Daniel15 on this one.

@jbrooksuk jbrooksuk marked this pull request as ready for review June 23, 2019 07:47
@jbrooksuk jbrooksuk merged commit ea8c945 into 2.4 Jun 23, 2019
@jbrooksuk jbrooksuk deleted the feature/api-cache-control branch June 23, 2019 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Caching / rate limiting for API
2 participants