perf: prevent bandwidth theft from non-critical preloads and strip InitialLoader chunk

This commit is contained in:
2026-07-01 18:21:25 +02:00
parent 8d42946711
commit d24b8a8694
5 changed files with 14693 additions and 3 deletions

View File

@@ -191,7 +191,7 @@ export default async function Layout(props: {
<NextIntlClientProvider messages={clientMessages} locale={safeLocale}>
<TransitionProvider>
<CorporateBackground />
<InitialLoader shouldShowLoader={!hasSeenLoader} />
{!hasSeenLoader && <InitialLoader shouldShowLoader={!hasSeenLoader} />}
{/* PageTransitionShutter loaded dynamically in TransitionProvider */}
<SkipLink />
<Header navLinks={navLinks} />