Documents two new performance optimization strategies in APPROACHES.md:
Approach 7 - Redis-Backed TanStack Query Initial Data:
- Use Redis cache as initialData for TanStack Query
- Cron jobs already populate Redis; read from cache instead of DB
- Estimated 2-5x faster TTFB, ~90% fewer DB queries per page load
- Includes implementation path and code examples
Approach 8 - Client-Side Rendering with ISR Static Shell:
- Serve static HTML shell, fetch data client-side
- Analysis shows this is NOT recommended for Homarr dashboards
- Causes layout shift, breaks hydration, doesn't work with auth
- ISR better suited for content sites, not interactive dashboards
Includes benchmark comparison table and recommendation.
Co-authored-by: ajnart <49837342+ajnart@users.noreply.github.com>
Documents 6 approaches (implemented, considered, and future) with PROs,
CONs, measured savings, and recommendations for each.
Co-authored-by: ajnart <49837342+ajnart@users.noreply.github.com>