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

AEM 6.3 SP1 - Sling Dynamic Include JSI

Avatar

Avatar
Validate 1
Level 2
vikashy47555224
Level 2

Likes

5 likes

Total Posts

21 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
vikashy47555224
Level 2

Likes

5 likes

Total Posts

21 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
vikashy47555224
Level 2

26-09-2019

HI,

We are using SDI version 3.1.2 with AEM6.3 SP1 to dynamically include component in our page. We have configuration in place where include types is "Javascript".

Does include type "JavaScript" also needs webserver configuration in httpd.conf and vhost files as mentioned on Set up Sling Dynamic Include page?

1837204_pastedImage_1.png

Replies

Avatar

Avatar
Coach
Employee
jbrar
Employee

Likes

389 likes

Total Posts

869 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Coach
Employee
jbrar
Employee

Likes

389 likes

Total Posts

869 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile
jbrar
Employee

26-09-2019

As far as I can check, no changes are required on apache.  Check details below for the detailed description of three types of "Include Type":

  • Apache SSI – Apache Server Side Includes

Apache HTTP Server is set up as a caching proxy in front of the AEM. This means that the include will be done by the http server and not by the sling engine.

  • ESI – Edge Site Includes

Edge Site Includes can be used as an alternative to SSI, it is evaluated by CDN. ESI has to have some proxy that is able to process its tags and often made available as part of CDN.

  • JavaScript – Ajax

Using JSI will replace dynamic components with ajax tags, so they are loaded by the browser. If included component has some JS code, it may not work properly, as it won’t be initialized immediately after a page is loaded.

Avatar

Avatar
Validate 1
Level 2
vikashy47555224
Level 2

Likes

5 likes

Total Posts

21 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
vikashy47555224
Level 2

Likes

5 likes

Total Posts

21 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
vikashy47555224
Level 2

26-09-2019

Thanks JaideepBrar

Javascript include says "they are loaded by the browser", does this mean all webserver configurations are for SSI & ESI and not for JSI?