Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Dynamically Load Field Set - Dispatcher

Avatar

Level 5

Hi,

I have an article page (Dynamic)| which getting data from service and display article's content on the page. It has certain attributes such as Article Name, Last Updated Date, etc.

This page is cached and shows the content. Only the Last Updated Date is frequently getting change. Couple of solutions that we had :

  • Use SDI, But this will make the whole component non-cacheable but we want caching of content.
  • Use Ajax call, Right now the implementation is purely written in the backend to get and render the data. Making another call to get one field and wrap on the Date field doesn't seem smart.

Do we have any other workaround that can work for backend driven component where only one field needs to be non-cached?

Thanks,

0 Replies