mirror of
https://github.com/jlengrand/Maestro.git
synced 2026-03-10 00:21:21 +00:00
Tier 1 performance optimizations for snappier app experience: 1. Lazy-load SettingsModal in App.tsx - SettingsModal is ~2.6K lines, now only loaded when settings opened - Wrapped in Suspense with conditional rendering 2. Add manual chunk splitting to vite.config.mts - Split vendor chunks: react, xterm, markdown, syntax, mermaid, charts, flow, diff - Enables better browser caching and smaller initial bundle - Heavy visualization libs (mermaid ~500KB, recharts ~400KB, etc.) now in separate chunks 3. Cache static files in web server (staticRoutes.ts) - index.html, manifest.json, sw.js now read once and cached - Eliminates blocking sync file reads on every web request - Improves web/mobile interface responsiveness
4.0 KiB
4.0 KiB