LoVisual/backend/deploy
loki5512344 9744dc7f24
fix(frontend): add a real robots.txt, cache hashed assets forever
Lighthouse audit findings:
- No robots.txt existed, so nginx's SPA fallback (try_files -> index.html)
  served the React app's HTML at /robots.txt -- crawlers got 44 "syntax
  not understood" lines instead of directives.
- No Cache-Control on /assets/*, so every visit re-fetched a hashed,
  content-addressed bundle that can never actually change under that
  URL. Lighthouse estimated 936 KiB/visit wasted on this alone.

Claude-Session: https://claude.ai/code/session_01F1M1Jic1wTSn4igUENynmZ
2026-09-30 15:40:04 +02:00
..
pg-init deploy(backend): add prod Dockerfiles, compose stack, nginx configs, deploy scripts 2026-09-28 14:47:53 +02:00
deploy.sh fix(deploy): use bun --frozen-lockfile instead of npm install 2026-09-28 15:30:42 +02:00
nginx-bekend.loki-code.dev.conf deploy(backend): add prod Dockerfiles, compose stack, nginx configs, deploy scripts 2026-09-28 14:47:53 +02:00
nginx-visual.loki-code.dev.conf fix(frontend): add a real robots.txt, cache hashed assets forever 2026-09-30 15:40:04 +02:00
setup.sh deploy(backend): add prod Dockerfiles, compose stack, nginx configs, deploy scripts 2026-09-28 14:47:53 +02:00