Lightlines
By vercel

next-cache-components-optimizer

vercel11.1k installs

Make your Next.js pages show useful UI instantly.

What it does

Makes useful Next.js route content appear immediately and adds automated tests that guard against navigation regressions.

When to use it

Use to expand a static shell, fix slow initial rendering or client navigation, diagnose blocking Suspense boundaries, or add instant-navigation regression tests.

How to use it

Give it a route and navigation entry point in a Next.js project; it optimizes immediately available UI and ships a regression test.

What you provide

  • the target route
  • initial load or client navigation
  • An existing project

Uses

Latest review

What you need · 2

Requires Next.js 16.3+ with Cache Components adopted and cacheComponents: true enabled.

Hands off when the App Shell is already instant and the remaining goal is fetching URL-specific content before a click; an installation requirement is unstated.


Access · 1

This skill

nextjs.org

Read

Reads Next.js revalidation guidance