We are building a site in AEM, the site will have both the satanic and dynamic content. Dynamic content resides in external content management system and can be accessed via REST APIS. The approach we took so far is to create custom components to get the content from external source. So, in our architecture, we will be having a page, that will have multiple custom components, which will then call REST API during rendering time. Is this approach correct? Is there any way to combine those multiple rest calls into one?
Solved! Go to Solution.
Views
Replies
Total Likes
It all depends on what kind of request are you are making. How much content you are recieving from RestApi calls.
Here are some points you might want to take in consideration.
It all depends on what kind of request are you are making. How much content you are recieving from RestApi calls.
Here are some points you might want to take in consideration.
Views
Replies
Total Likes
Views
Replies
Total Likes
As Varun already outlied, there are multiple factors to consider, which will influence your overall architecture.
All approaches have their unique pro's and con's, and it's best if you evaluate all your usecases against the choosen approach.
Along with answers from @Jörg_Hoh and @Varun_Shakya also consider page SEO as injecting important content via javascript will effectively reduce SEO rankings