tractatus/src
TheFlow 97d345357d fix(cache): reduce CSS/JS cache from 1 year to 1 hour
Changed from aggressive 1-year immutable cache to reasonable 1-hour cache
for CSS and JavaScript files during active development phase.

Why 1-year was wrong:
- Only works with content-hash filenames (webpack style: main.a3f2b1c.js)
- OR requires version bump on EVERY deployment
- We had neither, causing stale file issues

New strategy:
- 1 hour cache for CSS/JS (balances performance vs freshness)
- Admin files: NO cache (immediate updates)
- Images/fonts: Still 1 year (rarely change)
- HTML: NO cache (always fresh)

This allows deployments to propagate within an hour without manual
cache clearing, while still providing reasonable performance.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-24 18:49:44 +13:00
..
config fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
controllers feat(crm): complete Phase 3 multi-project CRM + critical bug fixes 2025-10-24 18:10:14 +13:00
middleware fix(cache): prevent caching of admin files and API responses 2025-10-24 18:34:06 +13:00
models feat(crm): complete Phase 3 multi-project CRM + critical bug fixes 2025-10-24 18:10:14 +13:00
routes feat(crm): complete Phase 3 multi-project CRM + critical bug fixes 2025-10-24 18:10:14 +13:00
services feat(translation): implement DeepL translation service (SOVEREIGN) 2025-10-24 11:16:33 +13:00
utils fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
server.js fix(cache): reduce CSS/JS cache from 1 year to 1 hour 2025-10-24 18:49:44 +13:00