DevOps / CI-CD

2026 Next.js 16.1 PPR Stuck on Loading After Refresh: How to Check on Cloudflare Workers?

The page renders on the first visit, but after refresh it stays on the Suspense fallback.

Fastest route: Don’t assume Cloudflare Workers truncated chunked encoding. First compare a cache MISS with a cache HIT for the same route, deployment, and request conditions; inspect the response headers and body, then consider temporarily disabling Cache Components or PPR only if the evidence points to that cache-hit path.

This guide is for developers investigating a Next.js 16.1 App Router page that works on its first request but remains on Loading after refresh.
It also helps platform engineers checking an OpenNext Cloudflare adapter deployment, its cache behavior, and a possible rollback.
Technical leads can use the reported case to decide whether to keep PPR enabled while they reproduce the issue.

Last updated October 17, 2026. The facts below were checked against the Next.js version and cache documentation, Cloudflare’s Response documentation, the adapter issue, and the adapter release history.

Next.js 16.1 PPR on Cloudflare Workers: start with the cache split

A page that pauses at Loading does not, by itself, establish where the failure occurred. A Suspense fallback can remain visible because the dynamic content did not render, because the browser did not receive or process the content needed to replace the fallback, or because the request ended in a separate HTTP failure. Those are different symptoms and should not be grouped as one “PPR streaming crash.”

A community report describes a narrower pattern: the first request, which was a cache miss, rendered; a later cache-hit request returned a static shell but did not continue with the expected dynamic content. The report concerns a particular Next.js and adapter combination. Its status is Closed and marked “waiting for feedback,” so it is a reproduction lead, not confirmation that all Next.js 16.1 deployments on Workers have the same defect. See the reported OpenNext Cloudflare issue and its reproduction details.

Why can the first visit work while a refresh stays on Loading? The reported pattern associates the difference with cache state: the initial MISS follows one path, while the later HIT may follow another. That makes a matched MISS/HIT comparison the first useful test. It does not prove that caching is the cause in a separate deployment until that deployment shows the same difference.

Keep these outcomes separate while reproducing:

  • Fallback remains visible: the document arrived, but the dynamic region did not visibly replace the Suspense fallback.
  • Connection ends early: the response body or connection appears incomplete. This needs evidence from the actual response and request logs.
  • HTTP 502: the request returned an error status. Record it as a failed response, not as a fallback-only symptom.

A successful first visit followed by a stuck refresh is not equivalent to a 502. Likewise, a 502 alone does not prove that a streamed response was cut off.

Build a matched MISS and HIT comparison

Before changing cache settings, compare two requests that differ in cache state but not in other relevant conditions. Use the same route, deployed build, request method, host, cookies, authorization state, and query parameters. If the two requests also differ in personalization or deployment version, the result cannot isolate cache behavior.

Record how each request was generated. Do not assume that adding a query parameter forces a cache miss: it may change the application response or cache key instead. Use the cache controls and preview procedures available in the actual deployment, and confirm the resulting cache status from the response evidence.

For each request, preserve:

  • The request URL and method, with sensitive tokens and personal data removed.
  • The deployment identifier and the versions of Next.js, the OpenNext Cloudflare adapter, and Wrangler.
  • The HTTP status and full response headers.
  • The response body, or a safe excerpt that shows whether the dynamic region’s content is present.
  • Browser behavior: whether the fallback remains, whether the connection ends, or whether the response reports an error.
  • Relevant runtime and deployment logs, including timestamps that let the team match a request to a log entry.

How can the comparison show whether the request was a cache hit? Compare the cache-related response headers and the adapter’s documented behavior for that deployment. Preserve the exact header names and values rather than treating a single header as universal. The community report includes a cache-hit clue, but its observation is specific to that reproduction; it should not be generalized into a guaranteed header contract for every adapter release.

To capture a baseline outside the browser, save the headers and body separately for each request. For example, a command-line request can write headers to one file and the response body to another. Repeat it under the deployment’s verified MISS and HIT conditions. A browser reload by itself is not a controlled cache comparison: browser cache, cookies, and request headers can alter what is sent.

Read the response before changing the cache

When the static shell appears but the dynamic area does not update, inspect the response as well as the browser. The browser display tells you what the user sees; the body helps determine whether the response contains the content or stream instructions needed for the dynamic boundary.

Compare the MISS and HIT bodies for:

  • The static shell and the Suspense fallback.
  • Markers or serialized content associated with the dynamic boundary.
  • Any later response content that should allow the boundary to resolve.
  • A response that ends before the expected dynamic content appears.

Do not interpret a body excerpt without checking whether it is complete. A capture can be shortened by the tool used to save it, while a browser can display a fallback even though content exists in the response but fails to render. Save the response in a way that preserves the body, then compare it with the browser result and request logs.

Which response evidence matters when Cache Components is enabled? Start with the response status, cache-related headers, and the body’s dynamic-boundary content. If the HIT response contains the static shell and fallback but lacks the dynamic continuation that appears on a comparable MISS, record that exact difference. If both bodies contain the expected content, investigate browser rendering and client-side errors instead of assuming the edge response omitted it.

Next.js 16’s configuration model matters here. The Next.js 16 upgrade guide says that PPR is enabled through the cacheComponents configuration and that the older experimental_ppr configuration was removed. The Cache Components configuration reference and PPR guide explain the supported model and how dynamic content relates to the prerendered shell. Check the configuration actually used by the deployed build; a local configuration file that differs from the deployed artifact is not evidence of the live behavior.

Separate the framework, adapter, and transport layers

A useful diagnosis avoids jumping from “Loading does not finish” to “Cloudflare truncated the stream.” Check the layers separately:

  • Next.js behavior: Confirm which Cache Components/PPR configuration the deployed build uses, and whether the route’s dynamic content is expected to resolve at request time.
  • Adapter cache path: Establish whether the adapter serves a cached shell, invokes dynamic rendering on a hit, or applies another behavior for that request. Compare the adapter version and its release notes with the reproduction.
  • Response transport: Check whether the response body is actually incomplete or whether the browser received a complete response that still did not resolve the boundary.

Cloudflare’s Response API documentation describes returning a ReadableStream and the use of chunked encoding for streamed responses. That is protocol background; it does not demonstrate that an edge node truncated a particular application response. Attribute the incident to transport only when captured response evidence supports truncation, such as an incomplete body or a connection ending before the expected content, and the logs agree.

The same caution applies to runtime compatibility. Do not state that Edge Runtime lacks support for a particular Node.js Stream API as the cause unless the relevant code path and error have been verified. The supplied issue does not establish that as a general root cause. A reproducible cache-hit difference can point toward an adapter cache path without proving a streaming-protocol failure.

For the adapter, review the OpenNext Cloudflare release history for changes that affect the relevant versions and cache path. A release note or issue status may change after an incident report is filed. Before applying a workaround, verify that the current adapter release, configuration, and documented behavior still match the case being investigated.

Choose a temporary mitigation from the evidence

Should Cache Components be disabled if a refresh gets stuck? Not automatically. If a matched comparison shows that the failure occurs on a specific HIT path and not on a comparable MISS, a temporary rollback of Cache Components/PPR can be a reasonable containment step. If both paths fail, or if the HIT response contains the expected dynamic content, disabling PPR may hide the symptom without addressing its cause.

Use this decision path:

  • HIT is stuck; comparable MISS resolves; the HIT body lacks the dynamic continuation: Test a temporary Cache Components/PPR rollback in a preview deployment. Keep the affected route and request conditions unchanged so the result is comparable.
  • MISS and HIT both fail in the same way: Investigate the route’s dynamic rendering, runtime logs, and deployment differences before changing cache policy.
  • The body contains the expected dynamic content, but the browser remains on the fallback: Check browser-side errors and rendering behavior. A cache rollback is not yet supported by the evidence.
  • The request returns 502 or the body is demonstrably incomplete: Treat it as a separate error or transport investigation. Do not infer a cache-hit-only failure from the status alone.

If a rollback is needed, check both the application configuration and the deployment’s cache behavior. Next.js’s self-hosting cache guidance explains cache considerations for self-hosted deployments; apply only the parts that match the actual adapter and hosting arrangement. Do not copy a community post’s cache duration, configuration snippet, or purge procedure without verifying it against the deployed versions.

Does a temporary rollback require clearing cached content? It depends on which cache contains the affected response and how the current deployment invalidates it. First identify the cache layer and the adapter’s current procedure. Then test the change in preview and verify that the next request follows the intended path. Avoid broad cache purges or undocumented commands as a reflex; they can remove useful entries, change the reproduction, and make the before-and-after comparison harder to trust.

Before production changes, save the current configuration and deployment identifiers. Apply one change at a time, test the same route, and note whether the old cached response can still be served. If the preview result improves, the team has evidence for a temporary mitigation—not proof of the underlying defect or a permanent repair. For deployment-specific account and environment questions that are separate from the application-level diagnosis, the KuzCloud help center provides a route to support.

Run a focused recovery check

Use this checklist to close the loop rather than relying on one successful refresh:

  • [ ] Reproduce the original symptom on the same route and deployment version.
  • [ ] Capture a verified cache MISS and cache HIT under matching request conditions.
  • [ ] Save the status, headers, body, browser result, and relevant logs for both requests.
  • [ ] Confirm whether the HIT body lacks the dynamic continuation or contains content that the browser fails to render.
  • [ ] Record the deployed Next.js, adapter, Wrangler, and cache configuration versions.
  • [ ] If testing a rollback, make one controlled change in preview and document how the relevant cache was handled.
  • [ ] Repeat both MISS and HIT requests after the change.
  • [ ] Test direct navigation and refresh, and confirm that both the static shell and dynamic content complete.
  • [ ] Record the final version combination, cache state, and whether PPR remains enabled.

This sequence helps distinguish a resolved symptom from a changed test. If the request conditions, deployment, or cache state differ between the first and final test, the result is not a reliable before-and-after comparison.

A macOS/Safari regression can be useful when the team also needs to validate browser-specific presentation. It is not a prerequisite for diagnosing a Workers cache-hit response: first establish what the edge returned, then test browser rendering as a separate layer.

When a remote Mac adds value

A Workers-only test does not reproduce a macOS browser session, so it may leave a separate Safari compatibility question unanswered. A remote Mac can provide that browser environment, but it cannot repair a missing dynamic continuation in a response served by the Workers deployment. Teams should not rent a Mac just to prove or disprove this cache-hit symptom.

If the immediate test setup cannot cover Safari, a remote Mac is useful as a supplemental browser-regression environment after the MISS/HIT response comparison is complete. It can address the limits of validating only from a non-macOS workstation, but it adds a separate environment to manage and does not replace deployment logs, response captures, or cache controls. Teams with sustained, predictable browser-testing workloads may prefer a dedicated Mac; teams that only need occasional regression checks can compare that commitment with temporary access through the KuzCloud console.

For this incident, the decision should remain evidence-led: keep the Workers response investigation focused on cache state and returned content, then add macOS/Safari coverage only if browser compatibility is also in scope.

Test Your Next.js Workflow on a Dedicated Mac

Provision a dedicated Mac mini M4 and run your development and build tools with full root access.

Connect by SSH or VNC and work remotely as if you were at the machine.