Authentik's frontend uses content-hashed JS chunks, but the HTML pages that reference them had no Cache-Control headers. When the server restarts with new chunk hashes, browsers serve stale cached HTML that 404s on old chunk names, showing a throbber instead of the login form. Set Cache-Control: no-cache on /if/* (HTML flow pages) so browsers always revalidate, and Cache-Control: immutable on /static/dist/* (hashed assets) for efficient caching. Adds a reusable `cache_policy: spa` option to caddy_services. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| inventory | ||
| playbooks | ||
| roles | ||
| ansible.cfg | ||
| requirements.yml | ||