Sign in to Community
Sign in to view all badges
I need to implement SDI like feature with Sling exporter. My page has many component which is mapped to corresponding model exporter. But need some component to avoid caching at dispatcher side.
Just expecting something like include statement getting generated in dispatcher cache with trigger another request within the cache page json.
Any pointer would be appreciated , thanks in advance.
SDI expects the output to be HTML.
Sling Model Exporter implies the output is JSON.
What exactly are you trying to do? Are you trying to stitch together a JSON response, where parts are static and other parts dynamic?
If that's the case SDI doesn't support this - and TBH, I'm not sure if Apache webserver even has the ability to do SSI in JSON (im not sure what that syntax would look like).