What problem does it solve?
Next.js applications often struggle with slow First Contentful Paint and interactivity due to large bundles, suboptimal image/font loading, and insufficient caching. This skill provides a structured approach to identify bottlenecks and apply proven techniques to deliver faster, more reliable performance.
Core Features & Use Cases
- CWV optimization for LCP, INP, and CLS across pages and routes.
- Image and font optimization using next/image and next/font to reduce layout shifts.
- Caching and ISR patterns including unstable_cache and revalidateTag for data-heavy pages.
- Server Components adoption and Client-to-Server conversion to minimize client JS.
- Streaming with Suspense for progressive loading and better TTFB.
- Bundle size reduction through code-splitting, dynamic imports, and optimized dependencies.
- Use cases include tuning existing Next.js apps, migrating to Server Components, and implementing robust performance budgets.
Quick Start
Identify current CWV bottlenecks and apply server components, image/font optimization, caching, and streaming patterns to improve LCP, CLS, and INP.