Hello AEM Experts,
I am working on Sling Dynamic Include and ran into following issue at the dispatcher level and would appreciate any insight feedback.
Current setup:
1. SDI/ESI is enabled on publisher through configuration. The selector for component is set as "nocache" so the paths that dispatcher has to fetch when <#include tag is identified in the cached file on the dispatcher is
/content/xyz/ca/en/dyanmic-components/_jcr_content/main/colcontainer_128710007.nocache.html
2. When I view the page directly on publisher all looks good.
/content/xyz/ca/en/dyanmic-components.html
3. When I view the page on dispatcher none of the components that are dynamic shows up. Dispatcher is caching the page html with all the SDI and include tags to instruct dispatcher of presence of dynamic components.
4. What is interesting is when I hit the component URL redirect through dispatcher /content/xyz/ca/en/dyanmic-components/_jcr_content/main/colcontainer_128710007.nocache.html the response is 200OK however, the HTML is coming off as blank for this component. The same URL works if hit directly on publisher.
5. nocache selector is allowed through dispatcher filters. nocache extension is exempted from dispatcher cache (not cached)
Wondering if you have face this issue and could provide any insights?