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