Implement support for soft navigations in Chrome(ium)
It's probably worth waiting until FCP and FP is supported: https://developer.chrome.com/blog/soft-navigations-experiment/
There are some new information here: https://github.com/anniesullie/soft-navigation-trace-viewer
Use Chrome M139 Beta or Chrome M140 Dev/Canary or later.
Start Chrome with the command line flags --enable-features=SoftNavigationHeuristics:mode/advanced_paint_attribution,NavigationId
Maybe it's time to test this again.
There's an update documentation: https://developer.chrome.com/docs/web-platform/soft-navigations-experiment# and how to enable it: https://developer.chrome.com/docs/web-platform/soft-navigations-experiment#how_do_i_enable_soft_navigations_in_chrome
Hi @soulgalore, could you please give some information about the current status of this feature?
I haven't tried the updated version of it on Chrome. Older versions it was not so useful, hope it will work better now.
Ok, got it. So is any additional action needed on sitespeed.io's side for this to work? Should we be able to see soft navigation metrics in sitespeed.io reports now when using the latest version of Chromium with the flag enable-features=... enabled?
It will not work out of the box. We need to collect "soft navigations" like https://developer.chrome.com/docs/web-platform/soft-navigations-experiment# and then it looks like we need to update how we collect some metrics (also there in the documentation). And then when we turned on "everything" added so we collect metrics, verified that it works + made sure the trace log in Chrome also supports the soft navigation (I don't think it will out of the box), then it could be released. But it's still in trial in Chrome so I would like to wait and see if something more gets changed before I implement a fix.
Ok, thank you. Looking forward to seeing this implemented!