AEM context hub library takes 6 sec to load | Community
Skip to main content
Level 2
December 5, 2023
Solved

AEM context hub library takes 6 sec to load

  • December 5, 2023
  • 2 replies
  • 1327 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by fmateen

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-cloudsettings-kernel-js-file/m-p/401328

 

 

2 replies

fmateen
fmateenAccepted solution
Level 2
December 5, 2023
kautuk_sahni
Community Manager
Community Manager
December 11, 2023

@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