MKI
Chrome can finally measure your SPA's soft navigations
Chrome 151 detects soft navigations by default, DevTools 152 shows them in Live Metrics, and web-vitals v6 reports Core Web Vitals per route.
If a site you maintain swaps content with JavaScript instead of loading a fresh page, its Core Web Vitals have probably been lying to you for years. A user clicks through five product pages inside a single-page app, and the browser only ever measured Largest Contentful Paint, Cumulative Layout Shift, and Interaction to Next Paint for the very first one. Everything after that click-and-swap cycle vanished from the metrics that Google, your RUM provider, and your own dashboards use to judge whether the experience is fast.
That gap has a name — soft navigations — and it’s been an open problem since the Core Web Vitals initiative began treating URL changes as the boundary of a “page.” Chrome has spent the last few years prototyping a fix, and it just crossed from experimental flag to default behavior. Chrome 151 ships soft navigation detection unflagged, Chrome 152’s DevTools brings it into the Live Metrics view you already use for debugging, and the web-vitals JavaScript library added first-class support in v6.0.0. If your studio ships anything with client-side routing — a dashboard, an e-commerce flow with instant category switching, an Astro island doing view transitions between routes — this is the first quarter you can actually see what real users experience after that first paint.
What changed
Chrome defines a soft navigation with three conditions that all have to be true: a user interaction kicks it off, the URL visibly changes, and something new gets painted to the screen. Once Chrome recognizes one, it starts emitting a soft-navigation performance timing entry carrying a navigationId and the new URL, plus interaction-contentful-paint entries that let you compute LCP for that specific route change rather than for the page’s entire lifetime (Chrome for Developers, “Measuring soft navigations,” updated July 21, 2026).
This was available behind the chrome://flags/#soft-navigation-heuristics flag and through origin trials for a while, but the Chrome team confirmed it’s launching unflagged from Chrome 151 (Chrome for Developers). Chrome 152’s DevTools release, published August 25, 2026, took the next step: the Performance panel’s Live Metrics view now captures and reports Core Web Vitals for these client-side route changes by default, powered by an upgrade to the web-vitals library to v6.0.0 (Chrome for Developers, “What’s new in DevTools (Chrome 152)”). Before this release, DevTools could only mark soft navigations on the trace timeline — useful for spotting that one happened, useless for judging whether it was fast.
web-vitals v6 is the piece that makes this practical to adopt without hand-rolling the Performance Observer logic yourself. It shipped July 21, 2026 and added a reportSoftNavs: true option to onTTFB, onFCP, onLCP, onCLS, and onINP that reports each metric against the correct soft-navigation URL instead of lumping everything under the original hard navigation (Chrome for Developers).
Why this was hard to measure before
The reason this took years isn’t bureaucratic slowness — it’s that the semantics are genuinely fiddly. A conventional page load has one obvious start time: when the browser commits the new document. A soft navigation doesn’t have that clean boundary. Chrome’s own documentation walks through the edge cases at length: an interaction-contentful-paint entry can fire before the URL actually updates, so you have to match it to the right navigation using interactionId rather than navigationId; TTFB doesn’t cleanly apply to a route change that made no network request, so the library just reports it as zero, the same convention used for back/forward cache restores; and content that was already on screen before the interaction — a banner image, a looping animation — shouldn’t count toward the new LCP even though it’s still visible (Chrome for Developers).
That last point matters in practice. If your SPA reuses a persistent header and only swaps the body content on navigation, the “largest paint” for a soft navigation is whatever new element that swap introduces, not the header that’s been there the whole time. Load the same URL directly instead of navigating to it client-side, and the header becomes eligible for LCP again, which means the same route can legitimately report different LCP values depending on how the user arrived. That’s not a bug — it mirrors how deep-linking into an anchor further down a conventional page already produces a different LCP element than loading from the top.
There’s also a bookkeeping problem underneath all of this: performance timings are, by default, reported relative to the original hard navigation’s start time, not to the soft navigation that just happened. So to get a usable LCP for a route change, you have to subtract the soft navigation’s own startTime from the raw timing — and that startTime is itself defined as the moment the triggering interaction began, which is earlier than when the URL actually changes, since it includes whatever event-handler code ran first. None of this is insurmountable, but it’s exactly the kind of detail that’s easy to get subtly wrong if you’re computing it by hand, which is the main argument for using the web-vitals library’s built-in handling rather than writing a bespoke PerformanceObserver callback from scratch.
How to turn it on this week
If you’re on the browser side, there’s nothing to do — soft navigation detection ships by default in Chrome 151 and later, and DevTools 152 already shows it in Live Metrics when you have the panel open on a site using client-side routing.
If you own the RUM or analytics layer, the work is a version bump plus an opt-in flag. Upgrading to web-vitals@6 and adding reportSoftNavs: true to your existing onLCP/onCLS/onINP/onFCP/onTTFB calls gives you a second stream of metrics, tagged with the soft navigation’s navigationId and navigationURL, alongside your existing hard-navigation reporting (Chrome for Developers):
import { onLCP, onCLS, onINP, onFCP, onTTFB } from 'web-vitals'
// existing hard-navigation reporting, unchangedonLCP(sendToAnalytics)onCLS(sendToAnalytics)onINP(sendToAnalytics)
// new: per-route metrics for client-side navigationsonLCP(sendSoftNavMetric, { reportSoftNavs: true })onCLS(sendSoftNavMetric, { reportSoftNavs: true })onINP(sendSoftNavMetric, { reportSoftNavs: true })Chrome’s guidance is explicit that you should keep both streams running rather than replacing one with the other: soft navigation metrics are Chromium-only for now, so you still need conventional hard-navigation measurement for cross-browser comparison and historical trend continuity. If you’re on a third-party RUM vendor instead of rolling your own beaconing, it’s worth asking them directly whether they support the new soft-navigation entry type yet — support is still rolling out unevenly across providers.
What this means for framework and RUM choices
None of this requires switching frameworks or rewriting a routing layer. The soft navigation heuristic works off the same three signals — interaction, URL change, paint — regardless of whether the client-side routing is hand-rolled, powered by React Router, Vue Router, or an Astro view transition configured to persist state between routes. That framework-agnostic design is deliberate: it’s the same reasoning that let Core Web Vitals work across wildly different site architectures in the first place, without Chrome needing special-case knowledge of any particular JavaScript framework.
Where the rollout gets uneven is one layer up, in the tools that consume these new performance entries. A RUM vendor has to explicitly add support for the soft-navigation entry type, decide how to bucket and display per-route metrics in their dashboards, and figure out how that interacts with whatever session and pageview model they already use for billing and reporting. Some vendors will move quickly since the underlying API is now stable and unflagged; others will wait for CrUX to formalize its own approach before committing to a UI. If per-route performance visibility inside a JavaScript-heavy product matters to you, it’s a reasonable question to put to any RUM vendor you’re evaluating over the next few procurement cycles, not just the one you’re already using.
What “good” looks like now
The practical payoff is that a route inside a single-page app finally gets judged on its own performance rather than inheriting whatever score the very first page load happened to get. A slow-loading settings panel three clicks into your app used to be invisible to Core Web Vitals; now it shows up with its own LCP, its own INP, its own CLS, tied to its own URL. That’s a meaningfully different debugging story: instead of one aggregate “the app is fine” number, you get a breakdown by route that can point straight at the screen that’s actually dragging.
There’s no announced timeline yet for whether or how CrUX — the field data source behind PageSpeed Insights and Search Console’s Core Web Vitals report — will incorporate soft navigation data. Chrome’s documentation says only that they’ll announce it when there’s something to share. So for now, the win is in your own RUM dashboard and in DevTools while you’re actively debugging, not in your public CrUX scores.
What we’d do about it
For any client we build with meaningful client-side routing, we’d treat the web-vitals v6 upgrade and reportSoftNavs: true opt-in as a small, low-risk addition to the next sprint that touches the performance monitoring code — not an urgent fix, but not something to let sit for a quarter either, since the metrics you’re missing today are already shaping how fast the product feels to actually use. For projects still on the static, server-rendered end of the spectrum — including this site — it’s mostly a reason to keep an eye on the space rather than an action item, since there are no soft navigations to miss.
If you’re evaluating whether a project needs this kind of client-side routing at all, that’s worth raising early in scoping — it changes what you need to instrument later. If you want a second opinion on how your current site handles performance monitoring for JavaScript-heavy flows, or you’re planning a rebuild that will involve real client-side navigation, get in touch and we’ll look at what’s worth adding to your setup.
Sources
- Measuring soft navigations — Chrome for Developers (updated July 21, 2026)
- What’s new in DevTools (Chrome 152) — Chrome for Developers (published August 25, 2026)