Skip to content

AEM Edge Delivery Services: How It Works and When to Use It

Edge Delivery Services for AEM developers: how it replaces publish and Dispatcher, authoring options, blocks, the boilerplate, preview and live, and when to pick it.

Written in December 2026 and checked against the aem.live documentation, Adobe's Experience League and the adobe/aem-boilerplate repository on GitHub.

On this page
  1. How is Edge Delivery different from AEM Sites with publish and Dispatcher?
  2. Where do authors write Edge Delivery content?
  3. What is a block?
  4. Starting from the boilerplate
  5. How do preview, live and the CDN fit together?
  6. How fast is Edge Delivery Services?
  7. Should you use Edge Delivery Services or AEM Sites?

Edge Delivery Services serves AEM pages straight from a CDN, with no publish tier behind them. Authors write content in documents or in AEM, a preview step converts that content into clean HTML, and plain JavaScript and CSS from a GitHub repository decorate the page in the browser. There's no Java or Dispatcher in the path. Adobe describes it as the piece that replaces AEM Publish / Dispatcher and the traditional Core Components approach, and it sits alongside AEM Sites as part of the same product.

How is Edge Delivery different from AEM Sites with publish and Dispatcher?

A classic AEM Sites page is rendered by Sling on the publish service. A request misses the CDN, misses the Dispatcher cache, reaches publish, and an HTL script with its Sling Models builds the HTML from JCR nodes. Your code is a Maven project of OSGi bundles and content packages that Cloud Manager builds and deploys. The author, publish and Dispatcher chain is laid out step by step in how AEM is built.

Edge Delivery moves the HTML rendering to publish time. In the Edge Delivery architecture, a preview pulls the document from its source and stores it in a content bus, images go to a media bus under a hash of their bytes, and code is read from GitHub into a code bus, one environment per branch. Publishing makes the previewed content live and push-invalidates the CDN. A visitor's request is answered from storage that already holds the final HTML.

AEM Sites (publish + Dispatcher)Edge Delivery Services
RenderingHTL and Sling Models on the publish service, per cache missSemantic HTML produced at preview; JavaScript decorates it in the browser
CodeJava, HTL, client libraries in a Maven projectVanilla JavaScript modules and CSS in a GitHub repository
DeploymentCloud Manager pipelineGit push; every branch gets its own URL
CachingDispatcher cache plus CDN, with flush agentsCDN with push invalidation on publish
ComponentsCore Components and custom componentsBlocks

The two can share a domain. Adobe calls running Edge Delivery and AEM Sites on the same domain a common setup for larger sites, and either side can consume content from the other.

Where do authors write Edge Delivery content?

Spreadsheets are a data source too. A sheet in the content source is served as JSON at the matching .json path, capped at 1,000 rows unless you pass limit and offset.

curl "https://main--mysite--myorg.aem.live/data/offices.json?offset=0&limit=2"

{
  "total": 14,
  "offset": 0,
  "limit": 2,
  "columns": ["city", "phone"],
  "data": [
    { "city": "Austin", "phone": "+1 512 555 0100" },
    { "city": "Denver", "phone": "+1 303 555 0100" }
  ],
  ":type": "sheet"
}

What is a block?

A block is Edge Delivery's component. An author inserts a table whose first row holds the block name, and the rows under it carry the content. Options in parentheses become extra classes, so a header of Quote (wide) produces class="quote wide", as the markup and blocks reference shows. Everything else on the page, such as headings, paragraphs, lists and images, is default content and needs no code. Horizontal rules split the page into sections.

A two-row Quote table is delivered like this, one div per row and one per cell:

<div class="quote">
  <div>
    <div><p>Cache the page, not the query.</p></div>
  </div>
  <div>
    <div><p>Platform team handbook</p></div>
  </div>
</div>

The block loader finds blocks/quote/quote.js and blocks/quote/quote.css by that class name. The script is an ES module whose default export receives the block element:

// blocks/quote/quote.js
export default function decorate(block) {
  const [quoteRow, sourceRow] = [...block.children];
  const figure = document.createElement('figure');
  const blockquote = document.createElement('blockquote');
  blockquote.append(...quoteRow.firstElementChild.children);
  figure.append(blockquote);

  if (sourceRow) {
    const caption = document.createElement('figcaption');
    caption.textContent = sourceRow.textContent.trim();
    figure.append(caption);
  }

  block.replaceChildren(figure);
}
/* blocks/quote/quote.css */
.quote figure {
  margin: 0;
  padding: 24px;
  border-left: 4px solid var(--link-color);
}

.quote.wide figure {
  max-width: none;
}

.quote figcaption {
  font-size: var(--body-font-size-s);
}

Scope every selector to the block class. Nothing in the loader isolates one block's styles, so a bare p selector in quote.css would restyle every paragraph on the page. If you know Sling Models, think of decorate as the place where the model and the HTL template meet, except it runs in the visitor's browser.

Starting from the boilerplate

A document-based project starts as a copy of adobe/aem-boilerplate on GitHub. You create a repository from the template, install the AEM Code Sync GitHub App on it, and finish the site setup. From then on, each push is picked up without a build. You develop locally with the AEM CLI, as in the Edge Delivery developer tutorial:

npm install -g @adobe/aem-cli
git clone https://github.com/myorg/mysite
cd mysite
aem up

aem up starts a proxy at http://localhost:3000/ that serves your local code over previewed content, so a CSS change shows up on reload. The folders you'll touch most are blocks/, scripts/ (with scripts.js and aem.js) and styles/. head.html is injected into every page, so keep marketing and third-party scripts out of head.html.

A project authored in AEM with the Universal Editor starts from a different template, adobe-rnd/aem-boilerplate-xwalk. It adds component-definition.json, component-models.json and component-filters.json at the root, which tell the editor which blocks exist and which fields each one has.

How do preview, live and the CDN fit together?

Each branch of the repository answers on two hosts:

https://main--mysite--myorg.aem.page/   preview
https://main--mysite--myorg.aem.live/   live

The pattern is <branch>--<repo>--<owner>, so a feature branch called new-hero gets its own preview of real content at new-hero--mysite--myorg.aem.page. Preview is where authors check their work. Publish copies the previewed version to .aem.live.

Your production domain points at a CDN in front of .aem.live. Adobe can manage that CDN, or you bring your own: the aem.live docs have setup guides for Akamai, Cloudflare, Fastly and CloudFront, each with push invalidation. On AEM Sites the same job falls to Dispatcher cache rules and flush agents, with dynamic includes for fragments that can't be cached whole.

How fast is Edge Delivery Services?

Adobe's performance guide says that a site started from the boilerplate gets a stable Lighthouse score of 100 on PageSpeed Insights for mobile and desktop, and that keeping it there takes continuous testing. Your finished site keeps that score only if it follows the guide's loading rules:

  • Loading happens in three phases. Eager covers what's needed for the Largest Contentful Paint, lazy covers the rest of the project's own code, and delayed covers anything that needs consent, such as analytics and tag managers.
  • As a rule of thumb, keep the payload before LCP under 100 KB.
  • The PageSpeed Insights check on pull requests fails a change that drops the score below 100, with a small allowance for variance.

Should you use Edge Delivery Services or AEM Sites?

For a new site, Adobe's answer is direct: it recommends Edge Delivery Services as the starting point for any new project.

  • New marketing site, no AEM code yet: use Edge Delivery with Experience Workspace. You skip the Maven project, the Dispatcher configuration and the publish tier.
  • New site whose authors need AEM's workflows, permissions and Sites console: use Edge Delivery with AEM authoring and the Universal Editor, starting from the xwalk boilerplate.
  • Large existing AEM Sites build on Core Components, editable templates and the Style System: keep it on publish. Adobe states there is no direct migration path from the Page Editor to the Universal Editor. Move one section to Edge Delivery on the same domain when that section is due for a redesign anyway and its pages don't depend on Page Editor features such as the Responsive Grid.
  • A React, Next.js or mobile app: go headless, as the AEM headless tutorial does.
  • Logged-in pages, per-user content or heavy server logic: keep that logic out of blocks. Load it from an API or keep those pages on AEM Sites; a block's code runs in the browser and can't see the JCR.

On AEM 6.5 the picture is narrower. Adobe's Edge Delivery documentation is written for AEM as a Cloud Service, and on 6.5 the Universal Editor supports only the headless use case, so AEM authoring for Edge Delivery isn't available there.

More in Architecture and platform