Adds a hint to speculation rules that informs the navigation prerender cache that the URL to be prerendered expects to receive the same No-Vary-Search header in the response. The hint is useful because prerenders that depend on No-Vary-Search to match to navigations do not benefit the user if the navigation happens before prerender headers return from the server. Using the hint, the web browser will expect, but verify, that the No-Vary-Search hint matches with the No-Vary-Search header. If the No-Vary-Search hint does not match the No-Vary-Search header received then the web browser will send a new request.
Adds a hint to speculation rules that informs the navigation prerender cache that the URL to be prerendered expects to receive the same No-Vary-Search header in the response. The hint is useful because prerenders that depend on No-Vary-Search to match to navigations do not benefit the user if the navigation happens before prerender headers return from the server. Using the hint, the web browser will expect, but verify, that the No-Vary-Search hint matches with the No-Vary-Search header. If the No-Vary-Search hint does not match the No-Vary-Search header received then the web browser will send a new request.
None
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
The No-Vary-Search hint is represented as a new json attribute ("expects_no_vary_search") in prerender Speculation Rules. The Speculation Rules can be viewed in DevTools on the Application tab under Speculative loads->Rules.
No milestones specified
Hi Caleb,Your request will be addressed as part of nav-speculation#319.Thank you,Liviu
On Friday, May 17, 2024 at 4:51:53 PM UTC-4 Caleb Raitto wrote:
I noticed the spec, https://github.com/WICG/nav-speculation/blob/main/triggers.md#no-vary-search-hint, doesn't have a privacy and security section -- could you add one? It looks like there's lots of other good information about the privacy and security aspects of this feature in questionnaires and explainers, but the explainer should mention these too.Thanks,-Caleb
On Thursday, May 16, 2024 at 5:13:40 PM UTC-4 Liviu Tinta wrote: