web/app.html: preload code just like before
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run service tests / test service functionality (push) Waiting to run
Run service tests / test service: ${{ matrix.service }} (push) Blocked by required conditions
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run

it adds 40kb of initial bandwidth load but makes the experience much better
This commit is contained in:
wukko 2025-04-30 14:53:50 +06:00
parent 9a3d35185b
commit 507ba66f78
No known key found for this signature in database
GPG Key ID: 3E30B3F26C7B4AA2

View File

@ -61,7 +61,7 @@
});
</script>
</head>
<body data-sveltekit-preload-data="hover">
<body data-sveltekit-preload-data="hover" data-sveltekit-preload-code="eager">
<div style="display: contents">
%sveltekit.body%
</div>