Say that dev validation is skipped when server caches are bypassed (#102386)
## Summary
A Playwright test can load a route without seeing the navigation errors
that appear when you open the same page in `next dev`. Registering a
handler with `page.route()` or `browserContext.route()` disables
Chromium’s HTTP cache, even if the handler never matches a request.
Chromium sends `Cache-Control: no-cache`, so Next.js bypasses server
caches and skips Instant Navigation validation for that request.
The warning now says which feedback is missing. The Playwright guide
recommends
[`instant()`](https://nextjs.org/docs/app/guides/testing/playwright#testing-instant-navigations)
for testing [what appears before dynamic content
arrives](https://nextjs.org/docs/app/guides/instant-navigation#prevent-regressions-with-e2e-tests).
If the test needs interception to simulate a failure, open the route in
a separate browser context without interception to check for navigation
errors and insights. Validation behavior is unchanged.
## Verification
The
[reproduction](https://github.com/aurorascharff/reproductions/tree/main/cases/playwright-route-hides-dev-blocking-route)
uses a route that reads uncached data outside `<Suspense>`:
| Request | Cache bypass warning | What the developer sees |
| --- | --- | --- |
| Playwright: `page.goto()` | No | The blocking-route error identifies
the uncached read. |
| Playwright: `page.route()` with a pattern that never matches, then
`page.goto()` | Yes | The page renders without the blocking-route error.
|
| `curl -H 'Cache-Control: no-cache'` | Yes | No blocking-route error. |
| Playwright: load the page only inside `instant()` | No | The paused
load reports a blocking route without identifying the read. |
In the coding-agent evals, all 22 trials that showed this warning
outside Draft Mode had registered a Playwright route handler. The
warning snapshots cover a page load, a client navigation, and Draft
Mode.
One question for follow-up: should a test that intercepts requests still
get validation, even though the browser sends the same header as a hard
refresh?
<!-- NEXT_JS_LLM -->