Expandir minha barra de realizações na Comunidade.

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

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?

Tópicos

Os tópicos ajudam a categorizar o conteúdo da comunidade e aumentam sua capacidade de descobrir conteúdo relevante.

1 Solução aceita

Avatar

Resposta correta de
Level 3
2 Respostas

Avatar

Resposta correta de
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