Lightlines
By vercel

next-partial-prefetching-optimizer

vercel1.7k installs

Make selected Next.js links feel instant.

What it does

Optimizes selected Next.js links so requested destination content is ready before a click while reusable content can wait for navigation.

When to use it

Use after adopting Cache Components and Partial Prefetching to tune content readiness or choose default, viewport, or intent prefetching for selected links.

How to use it

Give it selected navigation links in an existing application; it optimizes their prefetch behavior and retains verified production regression tests.

What you provide

  • the source links to optimize
  • An existing project

Uses

Latest review

What you need · 1

Requires Next.js 16.3+ with Cache Components and Partial Prefetching already adopted.


Access · 1

This skill

Next.js documentation

Read

Reads Next.js implementation guidance