A Deep Dive into CDN Capabilities Within AEM as a Cloud

Albin Issac
Tech Learnings
Published in
5 min readMay 14, 2024

--

In this post, we’ll explore some of the recent enhancements to the out-of-the-box CDN capabilities in AEM as a Cloud.

AEM as a Cloud’s CDN(Fastly) has recently enabled several key features that help us quickly address various issues. Some of these features are not yet in general availability but are accessible through the Early Adopter Program.

Image from Adobe Document

The above image outlines the process flow for request and response handling in AEM as a Cloud CDN. Let’s examine some key features that are either currently enabled or available at the early adopter stage. These CDN configurations can be set through the cdn.yaml file and deployed separately via the Cloud Manager config pipeline.

For example below config folders in your code repository and configure the required features into the cdn.yaml file.

config-dev/cdn.yaml

config-prod/cdn.yaml

kind: "CDN"
version: "1"
metadata:
envTypes: ["prod", "stage"]
data:
trafficFilters:
rules:

originSelectors:
rules:

Define config pipeline to deploy the CDN changes

--

--

Albin Issac
Tech Learnings

I work as a Software Architect specializing in Marketing Technologies. For more information, please visit my profile at: https://myprofile.albinsblog.com/