-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Soft Navigation #603
Comments
Enabling it with |
I'll need to double-check but I think |
I also don't mind if our initial support is a bit more experimental for sure. Like...something you have to opt into until it stabilizes a bit, but let's see what the wise Mr. @yoavweiss has to say. :) |
|
Chrome is experimenting with support for Soft Navigations, which would make it possible for folks to see Core Web Vitals (and other page lifecycle metrics) for single-page applications. https://developer.chrome.com/blog/soft-navigations-experiment/
This would be awesome to support because right now testing SPA's in WebPageTest with multi-page steps means we can't provide those metrics.
There are a few things we could use here:
One is to look for
soft-navigation
events in a Performance Observer like so:The other is to look at the trace events the Chrome team was kind enough to add: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/timing/soft_navigation_heuristics.cc;drc=0c4306fc554c80506eb0f9b833a5d2a5fdd452d5;l=204
The text was updated successfully, but these errors were encountered: