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
BedrockMission!

Learn More

View all

Sign in to view all badges

SDI with Sling Exporter

Avatar

Avatar
Validate 1
Level 2
swapnilg7731718
Level 2

Likes

0 likes

Total Posts

17 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 2
swapnilg7731718
Level 2

Likes

0 likes

Total Posts

17 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
View profile
swapnilg7731718
Level 2

22-03-2021

hi Team,

 

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.

 

Regards,

Swapnil Gupta

SDI Sling exporter
View Entire Topic

Avatar

Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile

Avatar
Ignite 1
Level 4
davidjgonzalezzzz
Level 4

Likes

54 likes

Total Posts

60 posts

Correct Reply

20 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
davidjgonzalezzzz
Level 4

22-03-2021

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