Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

0 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

@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.