-
Notifications
You must be signed in to change notification settings - Fork 12
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
Don't cache the checker healthcheck endpoint #468
Conversation
2dbf7af
to
be905fc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a reasonable change. Unfortunately when I deployed the change to CODE, I was greeted by this error:
https://checker.typerighter.code.dev-gutools.co.uk/rules
I appreciate it's been a while since you proposed this change. Do you remember seeing anything like this in your testing?
Thanks for testing thoroughly! I'll revisit this PR soon. |
be905fc
to
387ef20
Compare
... for a given value of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good on CODE 👍
76fef75
to
e959a14
Compare
e959a14
to
aca4db0
Compare
Seen on Rule Manager (merged by @jonathonherbert 10 minutes and 39 seconds ago) Please check your changes! |
Overdue on Checker (merged by @jonathonherbert 15 minutes and 6 seconds ago) What's gone wrong? |
What does this change?
Don't use caching for the Checker service, to enable the lovely Prout-bot to do its work (#465.)
We use Cloudfront to improve service latency for global users by removing TCP slowstart and reducing TLS handshake latency – we don't care about caching content.
(Initially this PR just removed caching for the healthcheck endpoint (620eb37), but on reflection I think removing caching entirely is more appropriate.)
How to test
Deploy to CODE or PROD. You should no longer see
X-Cache: Hit from cloudfront
headers on requests.