Context
Many teams treat performance as a bundle-only issue, but user latency is often dominated by backend and network behavior.
Problem
Optimizing isolated components while API and data-fetch paths remain expensive leads to little real user improvement.
Approach
- Set route-level budgets for LCP, INP, and total blocking time.
- Reduce critical-path JavaScript via dynamic imports and boundary splitting.
- Align API response shapes with above-the-fold rendering needs.
- Use cache policies based on volatility instead of blanket TTL values.
Trade-offs
Aggressive caching can stale important data. The right strategy depends on update frequency and user trust sensitivity.
Lessons
Frontend performance gets solved when UI, API, and data teams share one latency budget and one operational metric set.