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
This commit is contained in:
loki5512344 2026-09-30 15:40:04 +02:00
parent 54b47db7c1
commit 9744dc7f24
Signed by: boba
GPG key ID: 253067914055423B
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,2 @@
User-agent: *
Allow: /