Member-only story

Mastering Sling Dynamic Include (SDI) in AEM: Boost Performance Without Losing Dynamic Content

Gururaj Koni
3 min readJan 10, 2025

In Adobe Experience Manager (AEM), many pages are predominantly static, making caching mechanisms like dispatchers highly effective. However, challenges arise when certain page components need to display dynamic content.

Non-members can access it here.

For instance, a news website’s homepage might require displaying region-specific headlines, but caching could cause the same news to appear across all regions.

To address such scenarios, AEM offers the Sling Dynamic Include (SDI) feature, which facilitates the dynamic inclusion of specific page elements.

Step 1 : Integrating Sling Dynamic Include with AEM 6.5

I won’t be covering the installation process for Sling Dynamic Include — as it is already well-documented in references [4] and [5].

Step 2: Configure Components for Dynamic Inclusion

After installing the SDI bundle, configure the desired components for dynamic inclusion by creating an OSGi configuration with the following parameters:

<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0"

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Gururaj Koni
Gururaj Koni

Written by Gururaj Koni

AEM Full Stack Developer | Crafting seamless digital experiences with AEM. Follow for AEM insights & tips! gururaj.tech

No responses yet

Write a response