Christian SchreiberWeb Performance Consulting Book a performance analysis

Magnolia Headless Plan delivery endpoints, rendering strategy and JavaScript bundles so that load time and responsiveness improve instead of getting worse

Magnolia can deliver pages in the classic way or run as a headless system with a separate frontend. The architecture is clean, but responsibility for the Core Web Vitals only moves: from the templates of the public instance to delivery endpoints, rendering strategy and the JavaScript bundle of the frontend. This page describes where a headless project with Magnolia gains or loses performance and which requirements should be set before the first sprint.

Magnolia websites with a detected frontend framework perform worse in the benchmark

In the Magnolia CMS Core Web Vitals Benchmark 2026, 122 websites without a detectable frontend framework pass the Core Web Vitals at 68.0 percent, the 26 websites with a detected framework at 46.2 percent. The count includes websites whose homepage contains traces of React, Angular or Vue, regardless of whether the page is built in the browser or on the server. Fully decoupled frontends without Magnolia traces in the HTML are not detected by the fingerprint. For Interaction to Next Paint, both groups are in the green range at the median, at 136 versus 112 milliseconds; the larger gap is in the main content load time.

The framework group is small, and the correlation does not name a cause: teams that build their own frontend usually also build in more interaction. The figures do show, however, that a headless frontend does not improve the values by itself.

Magnolia Headless: delivery endpoints, GraphQL and a separate frontend

In headless mode, Magnolia delivers content as JSON via delivery endpoints configured in light modules, or via the GraphQL interface. The frontend, often built with React, Vue or Angular and a framework such as Next.js or Nuxt, fetches this content and builds the page from it. For editors, Magnolia provides editors that display the frontend in the familiar page editing view.

For performance, this adds three new places that matter: how fast and how often the endpoints respond, where the page is rendered and how much JavaScript reaches the browser.

Rendering strategy for Magnolia Headless: server, static or browser

For content pages, server-side or static rendering is usually the better choice. The strategy should be decided per page type, not once for the whole platform.

Delivery endpoints: number of calls and caching of responses

In headless mode, a page often needs several calls: page content, navigation, footer and referenced content such as teasers or products. If these calls run one after another, their response times add up to the Time to First Byte of the page.

Revalidation after publication: webhooks instead of fixed expiry times

Statically generated pages need to know when content changes. Fixed expiry times are simple, but either serve outdated pages or regenerate pages more often than necessary. Since version 6.2.22, Magnolia DX Core offers a webhooks module that calls a URL on publication and unpublication, for example the revalidation in the frontend. The calls run asynchronously and are retried several times on failure, as described under Webhooks module. If an event is lost for good, the page stays outdated. An additional expiry time as a fallback is therefore part of the setup.

Hydration and JavaScript bundles: the price for responsiveness

Server-rendered pages also load the frontend JavaScript in the browser to make the page interactive. This hydration occupies the main thread, and inputs during that time have to wait. This directly affects Interaction to Next Paint.

Images in the headless frontend: variants from Magnolia instead of originals

In headless mode, the endpoint often returns the URL of the original image, and the frontend loads it at full size. Magnolia generates image variants in defined sizes via the imaging module. The frontend should request these variants with suitable widths, load the image in the visible area with priority and specify width and height so the layout does not shift.

Headless requirements in the Magnolia specification

The complete wording is in the Magnolia Performance Requirements Template. How implementation partners and an independent sign-off work together is described in Performance Partner for Magnolia Agencies. All causes on Magnolia platforms are put in context under Magnolia CMS Performance.

Book a free performance analysis

30 minutes by video. You receive Google's real-user data for your platform compared with two competitors, whether or not a collaboration follows.

Frequently asked questions about Magnolia Headless

Is Magnolia Headless faster than classic delivery?

Not by itself. A headless frontend moves responsibility to delivery endpoints, rendering strategy and JavaScript bundle. With server-side or static rendering, few cached endpoint calls and a JavaScript budget, it can be faster. Without these requirements, it is often slower, in the Magnolia benchmark above all in main content load time.

Which rendering strategy fits Magnolia Headless?

For content pages, usually server-side rendering or static generation with revalidation after publication. Rendering in the browser delays the main content by several loading steps. The decision should be made per page type, for example static for articles and server-side for pages with frequently changing data.

How does the frontend learn about a publication in Magnolia?

Through the webhooks module of Magnolia DX Core. It calls a configured URL on publication and unpublication, for example the revalidation in the frontend, and retries failed calls several times. An additional expiry time catches events that are lost for good.