Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Sling Dynamic Include with Cloudfront

Avatar

Level 4

Sling Dynamic Include works with AEM Dispatcher, is there a way to use the same feature with Cloudfront, so component caching can be avoided.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Unfortunately CloudFront does not support ESI, although you can try to overcome this by using [1]. I don't know if this has ever been done with AEM.

 

[1] https://blog.cloudflare.com/edge-side-includes-with-cloudflare-workers/

View solution in original post

3 Replies

Avatar

Correct answer by
Employee Advisor

Unfortunately CloudFront does not support ESI, although you can try to overcome this by using [1]. I don't know if this has ever been done with AEM.

 

[1] https://blog.cloudflare.com/edge-side-includes-with-cloudflare-workers/

Avatar

Community Advisor

Some video reference on this - https://youtu.be/rvnugN6R0_8

 

Regards

Albin I

Avatar

Community Advisor

@kishore_polsani if HTML caching is disabled on Cloud front then it should not be an issue. SDI will work on Cloud front as well.