[object Object]

← back to Stars of Design

sod /healthz Cache-Control: no-store (parity with asim)

ef12c2ce2c07d00a2d1d2335909541ef8bbf5413 · 2026-05-13 07:32:39 -0700 · Steve Abrams

Files touched

Diff

commit ef12c2ce2c07d00a2d1d2335909541ef8bbf5413
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Wed May 13 07:32:39 2026 -0700

    sod /healthz Cache-Control: no-store (parity with asim)
---
 routes/public.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/routes/public.js b/routes/public.js
index 2c6b919..5fc3b7e 100644
--- a/routes/public.js
+++ b/routes/public.js
@@ -34,7 +34,11 @@ router.get('/favicon.ico', (req, res) => {
 });
 
 // k8s-style cheap liveness probe — no db check, mirrors asim.
-router.get('/healthz', (req, res) => res.json({ ok: true, ts: Date.now() }));
+// no-store so monitors always see a fresh liveness signal.
+router.get('/healthz', (req, res) => {
+  res.setHeader('Cache-Control', 'no-store');
+  res.json({ ok: true, ts: Date.now() });
+});
 
 router.get('/', (req, res, next) => {
   try {

← 9a655f6 sod smoke +3 ItemList checks on /designers /firms /clients i  ·  back to Stars of Design  ·  sod GET /sitemap.txt — plain-text sitemap (Google+Bing suppo 9136d4a →