nextjs - 💡(How to fix) Fix Navigation to routes is blocked/delayed until prefetch requests complete in Next.js 16 with CacheComponents [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
vercel/next.js#86182Fetched 2026-04-08 02:12:09
View on GitHub
Comments
1
Participants
2
Timeline
13
Reactions
6
Author
Participants
Timeline (top)
subscribed ×9labeled ×2commented ×1issue_type_added ×1

Code Example

Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 10 Pro
  Available memory (MB): 16043
  Available CPU cores: 8
Binaries:
  Node: 22.16.0
  npm: 10.9.2
  Yarn: 1.22.22
  pnpm: N/A
Relevant Packages:
  next: 16.0.3 // Latest available version is detected (16.0.3).
  eslint-config-next: N/A
  react: 19.2.0
  react-dom: 19.2.0
  typescript: 5.8.3
Next.js Config:
  output: standalone
RAW_BUFFERClick to expand / collapse

Link to the code that reproduces this issue

https://github.com/jperezr21/next-16-issue

Problem

On the home page, the navigation bar contains links to various pages, with the first link being /c/brands. When the home page loads, multiple prefetch requests are triggered for /c/brands?_rsc=, which can take more than 5 seconds to complete. If a user clicks the brands link before the prefetch request completes, navigation is blocked until the prefetch request finishes, resulting in a poor user experience.

Reproduction Steps

  1. Build the application: pnpm build
  2. Start production server: pnpm start
  3. Navigate to home page (/)
  4. Open browser DevTools Network tab
  5. Filter for requests containing _rsc=
  6. Observe multiple prefetch requests for /c/brands?_rsc=
  7. Click the brands link before prefetch completes
  8. Notice navigation is delayed until prefetch finishes
<img width="1358" height="314" alt="Image" src="https://github.com/user-attachments/assets/921571d7-5519-44a1-a608-82828fcdaaee" />

Current vs. Expected behavior

Expected Behavior

  • Links should be prefetched once when they enter the viewport or on hover
  • Navigation should be immediate when a user clicks a link, regardless of prefetch status
  • Prefetch requests should not block user navigation

Actual Behavior

  • Multiple prefetch requests are triggered for the same route (e.g., /c/brands?_rsc=)
  • Prefetch requests can take 5+ seconds to complete
  • Clicking a link before prefetch completes blocks navigation until prefetch finishes
  • This creates a noticeable delay and poor UX

Provide environment information

Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 10 Pro
  Available memory (MB): 16043
  Available CPU cores: 8
Binaries:
  Node: 22.16.0
  npm: 10.9.2
  Yarn: 1.22.22
  pnpm: N/A
Relevant Packages:
  next: 16.0.3 // Latest available version is detected (16.0.3).
  eslint-config-next: N/A
  react: 19.2.0
  react-dom: 19.2.0
  typescript: 5.8.3
Next.js Config:
  output: standalone

Which area(s) are affected? (Select all that apply)

Linking and Navigating, Partial Prerendering (PPR), Loading UI and Streaming

Which stage(s) are affected? (Select all that apply)

next build (local)

Additional context

  • This issue was identified after upgrading from Next.js 15 to 16
  • The issue affects both local production builds (next start) and Vercel deployments
  • The problem is more noticeable on slower network connections
  • The brands page (/c/brands) is particularly affected due to its complexity and data requirements

extent analysis

TL;DR

Disable or optimize prefetching for the navigation bar links to prevent multiple requests and improve user experience.

Guidance

  • Review the Next.js configuration and code to identify the cause of multiple prefetch requests for the same route (/c/brands?_rsc=).
  • Consider disabling prefetching for the navigation bar links or implementing a debouncing mechanism to limit the number of requests.
  • Investigate the getStaticProps or getServerSideProps methods for the /c/brands page to optimize data fetching and reduce the request completion time.
  • Use the browser DevTools Network tab to monitor and analyze the prefetch requests, identifying potential bottlenecks or areas for optimization.

Example

No specific code snippet can be provided without further information on the implementation details. However, reviewing the next.config.js file and the page components for prefetching configurations or optimizations is a good starting point.

Notes

The issue seems to be related to the upgrade from Next.js 15 to 16, and the problem is more noticeable on slower network connections. The complexity and data requirements of the brands page (/c/brands) may also contribute to the issue.

Recommendation

Apply a workaround by disabling or optimizing prefetching for the navigation bar links, as this is likely to improve the user experience and prevent navigation delays.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

nextjs - 💡(How to fix) Fix Navigation to routes is blocked/delayed until prefetch requests complete in Next.js 16 with CacheComponents [1 comments, 2 participants]