I was testing statichit plugin as replacement for healthchecks, and I noticed the "@pparam=--max-age" option doesn't apply to failure-code response cases.
The healthchecks plugin always includes "Cache-Control: no-cache" for either 200 or 404 cases to prevent any intermediate devices from caching the health checks. With "statichit" plugin I only have the ability to set max-age, and it's absent in failure cases. Also slightly odd, failure cases are "Transfer-Encoding: chunked" and success cases are "Content-Length: 0" - presumably because the 0 byte file I'm toggling as health check doesn't exist in the failure case. Otherwise I don't see a problem with this. David On Thu, Jun 8, 2023 at 1:07 PM Leif Hedstrom <zw...@apache.org> wrote: > Deprecate these for 10.0.0: > --------------------------- > > * healthchecks - We should encourage people to use the statichit > plugin instead >