Skip to content

Commit

Permalink
Editorial: Move No-Vary-Search to IETF HTTPbis
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyroman authored Oct 23, 2024
1 parent 8ad781b commit 8c5a4c5
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 377 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
no-vary-search.html
prefetch.html
prerendering.html
speculation-rules.html
Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
SHELL=/bin/bash

bikeshed_files = no-vary-search.bs prefetch.bs prerendering.bs speculation-rules.bs
bikeshed_files = prefetch.bs prerendering.bs speculation-rules.bs
html_files = index.html no-vary-search.html

.PHONY: ci clean local remote

Expand All @@ -9,7 +10,7 @@ local: $(bikeshed_files)

remote: $(bikeshed_files:.bs=.html)

ci: index.html $(bikeshed_files:.bs=.html)
ci: $(html_files) $(bikeshed_files:.bs=.html)
mkdir -p out
cp $^ out/

Expand Down
355 changes: 0 additions & 355 deletions no-vary-search.bs

This file was deleted.

5 changes: 5 additions & 0 deletions no-vary-search.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!DOCTYPE html>
<title>Moved to ITEF</title>
<meta http-equiv="refresh" content="3; url=https://httpwg.org/http-extensions/draft-ietf-httpbis-no-vary-search.html">
<h1>Moved to IETF</h1>
<p>This work has moved to the IETF HTTP working group. You will be redirected to the <a href="https://httpwg.org/http-extensions/draft-ietf-httpbis-no-vary-search.html">latest revision</a> shortly.</p>
4 changes: 4 additions & 0 deletions no-vary-search.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# The `No-Vary-Search` HTTP response header

> [!IMPORTANT]
> Work on this feature has moved to the IETF HTTP working group.
> The [latest draft](https://httpwg.org/http-extensions/draft-ietf-httpbis-no-vary-search.html) and [issue tracker](https://github.com/httpwg/http-extensions/labels/no-vary-search) can be found there.
Caching is useful for making web pages load faster, and thus creating better user experiences. Prominent caches on the web platform include the HTTP cache, as well as the subjects of this repository, the prefetch and prerender caches.

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.
Expand Down
12 changes: 6 additions & 6 deletions prefetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ spec: nav-speculation; urlPrefix: prerendering.html
text: getting the supported loading modes; url: get-the-supported-loading-modes
text: uncredentialed-prefetch; for: Supports-Loading-Mode; url: supports-loading-mode-uncredentialed-prefetch
text: prerendering traversable; url: prerendering-traversable
spec: nav-speculation; urlPrefix: no-vary-search.html
spec: no-vary-search; urlPrefix: https://httpwg.org/http-extensions/draft-ietf-httpbis-no-vary-search.html
type: dfn
text: URL search variance; url: url-search-variance
text: obtain a URL search variance; url: obtain-a-url-search-variance
text: equivalent modulo search variance; url: equivalent-modulo-search-variance
text: URL search variance; url: name-data-model
text: obtain a URL search variance; url: name-obtain-a-url-search-varianc
text: equivalent modulo search variance; url: name-comparing
spec: resource-timing; urlPrefix: https://w3c.github.io/resource-timing/
type: dfn; for: PerformanceResourceTiming; text: delivery type; url: dfn-delivery-type
</pre>
Expand Down Expand Up @@ -785,10 +785,10 @@ The following parameters are defined for the "`prefetch`" token:

See <a href="speculation-rules.html#security-considerations">Security considerations (Speculation Rules)</a>.

For the integration of this spec with No-Vary-Search, see <a href="no-vary-search.html#security-considerations">No-Vary-Search Security considerations</a>.
For the integration of this spec with No-Vary-Search, see <a href="https://httpwg.org/http-extensions/draft-ietf-httpbis-no-vary-search.html#name-security-considerations">No-Vary-Search Security considerations</a>.

<h2 id="privacy-considerations">Privacy considerations</h2>

See <a href="speculation-rules.html#privacy-considerations">Privacy considerations (Speculation Rules)</a>.

For the integration of this spec with No-Vary-Search, see <a href="no-vary-search.html#privacy-considerations">No-Vary-Search Privacy considerations</a>.
For the integration of this spec with No-Vary-Search, see <a href="https://httpwg.org/http-extensions/draft-ietf-httpbis-no-vary-search.html#name-privacy-considerations">No-Vary-Search Privacy considerations</a>.
14 changes: 7 additions & 7 deletions prerendering.bs
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ spec: picture-in-picture; urlPrefix: https://w3c.github.io/picture-in-picture/
spec: mediacapture-main; urlPrefix: https://w3c.github.io/mediacapture-main/
type: dfn
text: device change notification steps; url: dfn-device-change-notification-steps
spec: nav-speculation; urlPrefix: no-vary-search.html
spec: no-vary-search; urlPrefix: https://httpwg.org/http-extensions/draft-ietf-httpbis-no-vary-search.html
type: dfn
text: URL search variance; url: url-search-variance
text: default URL search variance; url: default-url-search-variance
text: obtain a URL search variance; url: obtain-a-url-search-variance
text: equivalent modulo search variance; url: equivalent-modulo-search-variance
text: URL search variance; url: name-data-model
text: default URL search variance; url: iref-default-url-search-variance
text: obtain a URL search variance; url: name-obtain-a-url-search-varianc
text: equivalent modulo search variance; url: name-comparing
spec: nav-speculation; urlPrefix: prefetch.html
type: dfn
text: supports prefetch; url: supports-prefetch
Expand Down Expand Up @@ -1018,14 +1018,14 @@ More complicated cases:

See <a href="speculation-rules.html#security-considerations">Security considerations (Speculation Rules)</a>.

For the integration of this spec with No-Vary-Search, see <a href="no-vary-search.html#security-considerations">No-Vary-Search Security considerations</a>.
For the integration of this spec with No-Vary-Search, see <a href="https://httpwg.org/http-extensions/draft-ietf-httpbis-no-vary-search.html#name-security-considerations">No-Vary-Search Security considerations</a>.

<p class="issue">Add security considerations that are specific to prerendering. See <a href="https://github.com/WICG/nav-speculation/issues/319">issue #319</a>.</p>

<h2 id="privacy-considerations">Privacy considerations</h2>

See <a href="speculation-rules.html#privacy-considerations">Privacy considerations (Speculation Rules)</a>.

For the integration of this spec with No-Vary-Search, see <a href="no-vary-search.html#privacy-considerations">No-Vary-Search Privacy considerations</a>.
For the integration of this spec with No-Vary-Search, see <a href="https://httpwg.org/http-extensions/draft-ietf-httpbis-no-vary-search.html#name-privacy-considerations">No-Vary-Search Privacy considerations</a>.

<p class="issue">Add privacy considerations that are specific to prerendering. See <a href="https://github.com/WICG/nav-speculation/issues/319">issue #319</a>.</p>
12 changes: 6 additions & 6 deletions speculation-rules.bs
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ spec: nav-speculation; urlPrefix: prerendering.html
text: start referrer-initiated prerendering; url: start-referrer-initiated-prerendering
text: prerendering traversable; url: prerendering-traversable
text: activate; for: prerendering traversable; url: prerendering-traversable-activate
spec: nav-speculation; urlPrefix: no-vary-search.html
spec: no-vary-search; urlPrefix: https://httpwg.org/http-extensions/draft-ietf-httpbis-no-vary-search.html
type: dfn
text: URL search variance; url: url-search-variance
text: default URL search variance; url: default-url-search-variance
text: obtain a URL search variance hint; url: obtain-a-url-search-variance-hint
text: equivalent modulo search variance; url: equivalent-modulo-search-variance
text: URL search variance; url: name-data-model
text: default URL search variance; url: iref-default-url-search-variance
text: obtain a URL search variance; url: name-obtain-a-url-search-varianc
text: equivalent modulo search variance; url: name-comparing
</pre>
<style>
/* domintro from https://resources.whatwg.org/standard.css */
Expand Down Expand Up @@ -422,7 +422,7 @@ add the following step
1. Let |noVarySearchHint| be the [=default URL search variance=].
1. If |input|["`expects_no_vary_search`"] [=map/exists=]:
1. If |input|["`expects_no_vary_search`"] is not a [=string=], then return null.
1. Set |noVarySearchHint| to the result of [=obtaining a URL search variance hint=] given |input|["`expects_no_vary_search`"].
1. Set |noVarySearchHint| to the result of [=obtaining a URL search variance=] given |input|["`expects_no_vary_search`"].
1. Return a [=speculation rule=] with
: [=speculation rule/URLs=]
:: |urls|
Expand Down

0 comments on commit 8c5a4c5

Please sign in to comment.