Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

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.

1 Accepted Solution

Avatar

Correct answer by
Level 3

Hi @learningguy 

changing the permissions of contexthub may will help. 

Similar issue was discussed at https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/create-cache-for-etc-cloud...

fmateen_3-1701794282359.png

 

 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 3

Hi @learningguy 

changing the permissions of contexthub may will help. 

Similar issue was discussed at https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/create-cache-for-etc-cloud...

fmateen_3-1701794282359.png

 

 

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