tts-voice-creator-clone-and.../static
mARTin-B78 a5efac5da5 Speed up startup: parallel JS loading + versioned asset caching
loader.js:
- Fetch /api/version first; append ?v=<version> to every script URL
- Load scripts with async=false (fetch in parallel, execute in DOM order)
- 4 sequential batches instead of 17 sequential awaits:
    utils → settings → [9 feature modules] → init → [4 post-init] → nav
- 17 round-trips → 6 round-trips; 9 and 4 files now download in parallel
- Section HTML keeps ?v=<timestamp> (no-store, always fresh)

server.py:
- Add static_cache_headers middleware:
    /static/js/*?v=...  → Cache-Control: max-age=31536000, immutable
    /static/sections/*  → Cache-Control: no-store
    /static/* (no v=)   → Cache-Control: max-age=3600

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-29 17:11:55 +02:00
..
js Persist engine container names and card URLs to server settings 2026-05-29 15:17:02 +02:00
sections Add version number (v1.1.0) and rewrite CHANGELOG to full Keep-a-Changelog spec 2026-05-29 13:53:31 +02:00
app.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
index.html Add Conversation Playground + XTTS v2 backend + VibeVoice voice fix 2026-05-27 23:27:57 +02:00
loader.js Speed up startup: parallel JS loading + versioned asset caching 2026-05-29 17:11:55 +02:00
nav.js Add Conversation Playground + XTTS v2 backend + VibeVoice voice fix 2026-05-27 23:27:57 +02:00
style.css Fix conversation input bar hidden when mic is blocked 2026-05-29 14:20:52 +02:00