Exclude CDN cache for SDI

viki1101

10-09-2020

Hello Community - We are setting up the environment to enable SDI so that the content won't be cached for dynamic components. The only issue is, the CDN is caching the "nocache.html" files which ultimately caused the issues. If we verify using dispatcher URL, we see the expected changes. is there any way to exclude the CDN cache for SDI changes?

Accepted Solutions (0)

Answers (2)

Answers (2)

ChitraMadan

MVP

10-09-2020

@viki1101 ,

 

There is a very nice blog https://medium.com/@techforum/sling-dynamic-include-deep-dive-dynamically-include-page-components-in...

 

It mentions all the configurations to be set up in Dispatcher and ESI.

Singaiah_Chintalapudi

MVP

10-09-2020

It depends on type of the CDN you would use. There is definitely a way to use but you'll have to make few changes on top of SDI/SSI.

For example, you can use ESI in Akamai: https://www.akamai.com/us/en/multimedia/documents/technical-publication/akamai-esi-faq-technical-pub...

 

Thanks,

Singaiah