Context-hub optimization strategies | Community
Skip to main content
Manu_Mathew_
Community Advisor
Community Advisor
December 6, 2023
Solved

Context-hub optimization strategies

  • December 6, 2023
  • 2 replies
  • 813 views

Hi Guys,

 

Context Hub kernel can have a big impact in terms of network traffic and I would like to get your thoughts on how well ContextHub can be optimized so that the page load time can be taken care of. 

 

A couple of things could be - minification, caching the kernel.js, minimizing store loads etc.

 

Any thoughts from your experience on using context-hub on live websites? What would be the challenges faced while implementing this? and why and for which use cases is context-hub recommended?

 

Thanks.

 

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 EstebanBustamante

Hi,

 

The first easy answer would be to use Target if possible, other than that this was an aware issue tracked here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/after-installation-of-aem-6-5-sp4-contexthub-started-to-respond/td-p/357019 . I think all that you have described is the best you can do for now, minify, cache, simplify the store, and load js only on pages needed.

2 replies

EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
December 18, 2023

Hi,

 

The first easy answer would be to use Target if possible, other than that this was an aware issue tracked here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/after-installation-of-aem-6-5-sp4-contexthub-started-to-respond/td-p/357019 . I think all that you have described is the best you can do for now, minify, cache, simplify the store, and load js only on pages needed.

Esteban Bustamante
kautuk_sahni
Community Manager
Community Manager
January 2, 2024

@manu_mathew_ 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