perf(marketing): client-side render below-the-fold homepage sections#2948
perf(marketing): client-side render below-the-fold homepage sections#2948TorstenDittmann merged 3 commits intomainfrom
Conversation
Wrap all components below LogoList (Bento, Pullquote, Ai, CaseStudies,
Features, Map, Scale, Pricing) in {#if browser} to avoid expensive SSR
rendering on every request. Adds a single 100vh placeholder to keep the
footer below the fold on the initial SSR paint.
- Hero, Platforms, LogoList remain SSR'd for fast first paint
- FooterNav and MainFooter remain SSR'd for SEO/crawler coverage
- Removes unused browser import from logo-list.svelte
Reduces warm SSR time from ~585ms to ~5ms.
Greptile SummaryThis PR defers eight below-the-fold homepage sections to client-side rendering via Confidence Score: 5/5Safe to merge — no correctness, security, or data issues introduced. Changes are minimal and intentional: a standard No files require special attention. Important Files Changed
Reviews (2): Last reviewed commit: "refactor(marketing): use tailwind h-scre..." | Re-trigger Greptile |
TorstenDittmann
left a comment
There was a problem hiding this comment.
@greptile-apps Noted on the SEO concern, but this is an intentional trade-off for this specific page. The marketing homepage relies on server-side Statsig experiment evaluation for the hero section, which requires prerender = false. The SEO-critical content (hero copy, platform descriptions, footer links) remains SSR'd. The below-the-fold sections (features, pricing, etc.) are not primary landing traffic drivers — users land on dedicated /products/* and /pricing pages for that content. This is documented as a band-aid fix until we can prerender with client-side experiment assignment.
Summary
100vhSSR placeholder to keep the footer below the fold on initial paint.browserimport fromlogo-list.svelte.Expected impact
Notes
prerender = falseis intentionally preserved so Statsig hero experiments continue to be evaluated server-side.