Expand my Community achievements bar.

Client Context vs Client Context Optimized

Avatar

Level 4

Hi All,

We see that there are 2 locations for client context related components

  1. /libs/cq/personalization/components/clientcontext
  2. /libs/cq/personalization/components/clientcontext_optimized

Official documentation doesn't talks about the second one. Has anyone explored both of these, any information would be helpful.

Thanks,
Sandeep

1 Reply

Avatar

Level 9

Hi Sandeep,

Yes there are two files and optimized comes with some fixes which Adobe faces implementing personalisation especially target component.

Issue with client context was that every javascript has to be loaded in head section otherwise client context was not loaded correctly. I believe now they allow us to load JS libraries in bottom but need to add client context config in head section.

Regards,

Jitendra