typerighter icon indicating copy to clipboard operation
typerighter copied to clipboard

Don't cache the checker healthcheck endpoint

Open jonathonherbert opened this issue 10 months ago • 1 comments

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 (620eb3719971b45860a945ea17ac6794cad54a06), 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.

jonathonherbert avatar Apr 10 '24 08:04 jonathonherbert