From 17c818f5dbf29a1f8714dcfe79ad497ddd394bbb Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Fri, 19 Sep 2025 10:36:59 +0100 Subject: [PATCH 1/3] Update specs and standard status of Speculation Rules API --- files/en-us/web/api/document/prerendering/index.md | 3 +-- .../activationstart/index.md | 3 +-- files/en-us/web/api/speculation_rules_api/index.md | 11 ++++++++--- .../elements/script/type/speculationrules/index.md | 3 +-- .../reference/headers/sec-speculation-tags/index.md | 3 +-- .../http/reference/headers/speculation-rules/index.md | 3 +-- .../reference/headers/supports-loading-mode/index.md | 3 +-- 7 files changed, 14 insertions(+), 15 deletions(-) diff --git a/files/en-us/web/api/document/prerendering/index.md b/files/en-us/web/api/document/prerendering/index.md index 93097066fb71f2e..141e20c123f5824 100644 --- a/files/en-us/web/api/document/prerendering/index.md +++ b/files/en-us/web/api/document/prerendering/index.md @@ -5,11 +5,10 @@ slug: Web/API/Document/prerendering page-type: web-api-instance-property status: - experimental - - non-standard browser-compat: api.Document.prerendering --- -{{ APIRef("Speculation Rules API") }}{{seecompattable}}{{non-standard_header}} +{{ APIRef("Speculation Rules API") }}{{seecompattable}} The **`prerendering`** read-only property of the {{domxref("Document")}} interface returns `true` if the document is currently in the process of prerendering, as initiated via the [Speculation Rules API](/en-US/docs/Web/API/Speculation_Rules_API). diff --git a/files/en-us/web/api/performancenavigationtiming/activationstart/index.md b/files/en-us/web/api/performancenavigationtiming/activationstart/index.md index 0499cf6ce76051e..74afebf1bb960f0 100644 --- a/files/en-us/web/api/performancenavigationtiming/activationstart/index.md +++ b/files/en-us/web/api/performancenavigationtiming/activationstart/index.md @@ -5,11 +5,10 @@ slug: Web/API/PerformanceNavigationTiming/activationStart page-type: web-api-instance-property status: - experimental - - non-standard browser-compat: api.PerformanceNavigationTiming.activationStart --- -{{APIRef("Performance API")}}{{SeeCompatTable}}{{non-standard_header}} +{{APIRef("Performance API")}}{{SeeCompatTable}} The **`activationStart`** read-only property represents the time between when a document starts prerendering and when it is activated. diff --git a/files/en-us/web/api/speculation_rules_api/index.md b/files/en-us/web/api/speculation_rules_api/index.md index b36cfc20a79b407..88a92fcaeaac3ac 100644 --- a/files/en-us/web/api/speculation_rules_api/index.md +++ b/files/en-us/web/api/speculation_rules_api/index.md @@ -4,17 +4,22 @@ slug: Web/API/Speculation_Rules_API page-type: web-api-overview status: - experimental - - non-standard browser-compat: - api.Document.prerendering - api.Document.prerenderingchange_event + - api.PerformanceNavigationTiming.activationStart - html.elements.script.type.speculationrules + - http.headers.Content-Security-Policy.script-src.inline-speculation-rules + - http.headers.Sec-Purpose.speculationrules + - http.headers.Sec-Speculation-Tags + - http.headers.Speculation-Rules + - http.headers.Supports-Loading-Mode spec-urls: - - https://wicg.github.io/nav-speculation/speculation-rules.html + - https://html.spec.whatwg.org/multipage/speculative-loading.html#speculative-loading - https://wicg.github.io/nav-speculation/prerendering.html --- -{{SeeCompatTable}}{{DefaultAPISidebar("Speculation Rules API")}}{{non-standard_header}} +{{SeeCompatTable}}{{DefaultAPISidebar("Speculation Rules API")}} The **Speculation Rules API** is designed to improve performance for future navigations. It targets document URLs rather than specific resource files, and so makes sense for multi-page applications (MPAs) rather than single-page applications (SPAs). diff --git a/files/en-us/web/html/reference/elements/script/type/speculationrules/index.md b/files/en-us/web/html/reference/elements/script/type/speculationrules/index.md index bc31b02afe7e8c8..9f651e24449f0b7 100644 --- a/files/en-us/web/html/reference/elements/script/type/speculationrules/index.md +++ b/files/en-us/web/html/reference/elements/script/type/speculationrules/index.md @@ -5,12 +5,11 @@ slug: Web/HTML/Reference/Elements/script/type/speculationrules page-type: html-attribute-value status: - experimental - - non-standard browser-compat: html.elements.script.type.speculationrules sidebar: htmlsidebar --- -{{SeeCompatTable}}{{non-standard_header}} +{{SeeCompatTable}} The **`speculationrules`** value of the [`type`](/en-US/docs/Web/HTML/Reference/Elements/script/type) attribute of the [`