Open kjmcnee opened 4 months ago
I am in favor of option 3, unless there is some subtle problem there I am not realizing.
Option 3 sounds like everyone's preferred option.
It would also allow us to simplify the matching logic to not need to deal with multiple potential matches.
Spinning off discussion in https://github.com/WICG/nav-speculation/pull/310#discussion_r1575338094
In the chromium implementation, we currently dedupe prefetches and prerenders based on the exact URL. That is, if we have an existing prefetch/prerender to a given URL, we don't start another request to the same URL.
In the prefetch spec, we don't explicitly mention deduplication. In the prerender spec, we explicitly dedupe based on an exact URL match. In either case, the steps are optional, so there's presumably an implicit option for the UA to dedupe.
If we do want to be explicit in the spec about deduplication, should this also incorporate No-Vary-Search?
Options here could be: