tractatus/src
TheFlow 2928ddd439 fix: Prevent cache-control middleware from caching API responses
The catch-all else clause in the cache-control middleware was overriding
the security middleware's no-cache headers for /api/ paths, setting them
to 'public, max-age=3600'. This caused browsers to cache stale API
responses, resulting in the blog page showing "0 posts found" despite
the API having data.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 15:57:18 +13:00
..
config chore: add optimal submission timing to publication targets config 2025-10-26 11:34:27 +13:00
controllers fix: Resolve ESLint errors breaking CI 2026-01-23 12:20:50 +13:00
middleware docs(auth): add RBAC explanation to requireRole middleware 2025-10-28 12:44:56 +13:00
models fix: Fix CI pipeline - add MongoDB service and fix integration tests 2026-02-07 18:37:30 +13:00
routes fix: Fix CI pipeline - add MongoDB service and fix integration tests 2026-02-07 18:37:30 +13:00
services feat: Add performance degradation detection to context pressure monitoring 2025-11-04 16:30:13 +13:00
utils feat(security): implement attack surface exposure prevention (inst_084) 2025-10-27 12:11:43 +13:00
server.js fix: Prevent cache-control middleware from caching API responses 2026-02-09 15:57:18 +13:00