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.

AEM context hub library takes 6 sec to load

Avatar

Level 2

Hi Friends,

I am implementing context hub-based personalization in some of my pages. to achieve this I am loading the below resource on my page header


<sly data-sly-resource="${'contexthub' @ resourceType='granite/contexthub/components/contexthub'}"></sly>

 

However, as soon as I am enabling context hub, page load time drastically increases leading to 10 sec. Up on investigation, i found that /etc/cloudsettings.kernel.js/libs/settings/cloudsettings/legacy/contexthub library is taking more than 6 sec and blocking DOM rendering.

 

Is there any way we can finetune this library and reduce load page time?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Administrator

@learningguy Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni