Acquia Site Studio Site Builder study materials
Acquia Site Studio Site Builder study resources

Layout Canvas Performance on a High-Traffic Landing Page

Acquia Site Studio Site Builder · Put your knowledge to work in context.

All case studies

Layout Canvas Performance on a High-Traffic Landing Page

A marketing landing page built with Site Studio's layout canvas has grown to roughly 40 elements, including nested containers, three accordion components, and a hero with a background video. Editors love it because they can rearrange content freely. Since launch, the page's Largest Contentful Paint has degraded from 1.9s to 4.6s on mobile. The page also ships a large CSS bundle because every component on the site contributes compiled styles, and the landing page uses only a fraction of them. The team wants to keep the editing flexibility but must hit a 2.5s LCP target.

1. Diagnose the likely contributors to the LCP regression and rank them by expected impact.

Read the worked answer

Likely contributors, ranked:

  1. Background video in the hero - video competes with the LCP image/text for bandwidth and main-thread work; it is often the single largest offender. Replace with a poster image or defer the video until after LCP.
  2. Unused CSS in the global bundle - a large stylesheet blocks render; only a fraction applies to this page. This is a render-blocking cost on every load.
  3. Deeply nested layout canvas structure - 40 elements with nested containers increase DOM depth and style recalculation cost, and can delay paint of the LCP element.
  4. Accordion components - usually low impact unless they load JS eagerly or contain hidden heavy content.

The judgement is to separate render-blocking and bandwidth costs (video, CSS) from structural costs (nesting) rather than assuming the canvas size alone is the problem.

2. What concrete changes would you make, and how do you preserve the editors' flexibility?

Read the worked answer

Concrete changes:

  • Hero: use a static poster image as the LCP element; lazy-load or remove the background video, or load it only after interaction/requestIdleCallback.
  • CSS: move to per-component or per-page CSS where the build supports it, or split the global bundle so the landing page loads only the styles it uses. Purge unused component styles at build time.
  • Canvas structure: flatten unnecessary nested containers where the visual result is unchanged; keep semantic grouping only where editors need it.
  • Accordions: ensure their JS is deferred and their content is not eagerly rendered if hidden.

Preserving flexibility:

  • Keep the editable regions and component slots the editors rely on; flattening internal wrapper divs does not remove editing controls.
  • Provide a curated set of layout options (e.g., approved container variants) so editors still rearrange without creating pathological nesting.

The tested judgement: optimize delivery and structure without removing the editorial model the client bought Site Studio for.