Contact emailsdome...@chromium.org, jbro...@chromium.org,
liviuti...@chromium.org

Explainerhttps://github.com/WICG/nav-speculation/blob/main/no-vary-search.md

SpecificationTo be started soon.

Summary

Enables prefetch to match even if URL query parameters change. The
No-Vary-Search HTTP response header declares that some or all parts of a
URL's query can be ignored for cache matching purposes. It can declare that
the order of query parameter keys should not cause cache misses, that
specific query parameters should not cause cache misses or that only
certain known query parameters should cause cache misses. It could apply to
multiple caches, but this entry refers to support for prefetch cache.


Blink componentInternals>Preload
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Internals%3EPreload>

Motivation

One of the most important cache keys for web resources is the resource's
URL. However, sometimes multiple URLs can represent the same resource. This
leads to caches not always being as helpful as they could be: if the
browser has the resource cached under one URL, but the resource is then
requested under another, the cached version will be ignored. Via a new HTTP
header, No-Vary-Search, resources can declare that some or all parts of the
query can be ignored for cache matching purposes.


Initial public proposal
https://github.com/WICG/nav-speculation/blob/main/no-vary-search.md

TAG reviewNot yet required

TAG review statusPending

Risks


Interoperability and Compatibility



*Gecko*: No signal

*WebKit*: No signal

*Web developers*: No signals

*Other signals*:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that
it has potentially high risk for Android WebView-based applications?



Debuggability

Will be possible to debug on the new preloading DevTools tab.

Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
?

The plan is to build WPTs during the implementation.

Flag namePrefetchNoVarySearch

Requires code in //chrome?False

Estimated milestones

Expect to land the code in M110 and send Intent to Experiment.



Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5071247189213184

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHaAqYKutrvgMxR%3DnfAQOfBHNJo9ifrmFRSbiE0heDyeW0uKJA%40mail.gmail.com.

Reply via email to