0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/e2e
Max Katz 18154b1c45
perf: lower manifest script preload priority (#8212)
* perf: lower manifest script preload priority

* fix(start-server-core): forward fetchPriority into static Early Hints

Static script hints were built from getScriptPreloadAttrs but copied only
href, rel, as and crossOrigin, so Chromium started hinted preloads at
MEDIUM before the HTML's fetchPriority="low" arrived. Build them with the
shared addEarlyHintFetchAttrs helper, which the dynamic hint path already
uses, so fetchPriority (and crossOrigin) are carried into 103 hints and the
response Link header.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test: cover low-priority manifest preloads in Solid and Vue

Add a Solid server-suite SSR test for module and IIFE preloads and assert
fetchpriority="low" on rendered preloads in the Solid and Vue HeadContent
tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: note low-priority JavaScript Early Hints

Mention that JavaScript Early Hints carry fetchpriority=low and extend the
changeset to start-server-core.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Manuel Schiller <6340397+schiller-manuel@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
History 2026-10-16 15:35:33 +02:00
..
e2e-utils test(e2e): let Playwright manage application servers (#8357) 2026-09-14 10:54:23 +02:00
eslint-plugin-start chore: localize package dependencies (#8078) 2026-08-15 13:42:24 +02:00
react-router fix(router-core): restore native scroll restoration on reload (#8519) 2026-09-27 14:31:49 +02:00
react-start perf: lower manifest script preload priority (#8212) 2026-10-16 15:35:33 +02:00
solid-router test: fix Nx sandbox violations in CI tasks (#8400) 2026-09-14 10:54:23 +02:00
solid-start chore(deps): bump srvx to ^1.0.0 and @vitejs/plugin-rsc to ^0.5.37 (#8708) 2026-10-14 15:24:04 +02:00
streaming-ssr-fixtures optimize streaming (#8204) 2026-09-16 22:38:25 +02:00
streaming-ssr-specs optimize streaming (#8204) 2026-09-16 22:38:25 +02:00
vue-router test: fix Nx sandbox violations in CI tasks (#8400) 2026-09-14 10:54:23 +02:00
vue-start chore(deps): bump srvx to ^1.0.0 and @vitejs/plugin-rsc to ^0.5.37 (#8708) 2026-10-14 15:24:04 +02:00
.gitignore rsbuild plugin (#7228) 2026-04-24 03:26:03 +02:00
AGENTS.md agents (#8258) 2026-09-15 22:36:13 +02:00
scroll-restoration-lifecycle.ts fix(router-core): restore native scroll restoration on reload (#8519) 2026-09-27 14:31:49 +02:00
streaming-ssr-assertions.ts optimize streaming (#8204) 2026-09-16 22:38:25 +02:00