cq5 - caching of personalized content pages in AEM 6.1 -
we on aem 6.1 , have personalized content on home page of our website based on user profile attributes. section of page personalized using out of box teaser functionality can browse campaigns. when home page gets loaded, believe makes ajax call load personalized content campaigns. need confirm when loads page, content cached in dispatcher, , section of page comes campaigns, gets cached in /content/campaigns directory. if true every personalized page pulled cq publisher first time , other times served dispatcher. in overall, home page content cached in 2 places. 1 /content/homepage(regular content) , personalized content in /content/campaigns in dispatcher. , when home page request comes again, cq collate content above 2 dispatcher locations , show final page content on home page.
can please confirm this?
yes , ootb teaser component loads campaigns via javascript. hence page can cached , still load right campaigns. if check source of page has teaser component , you'll see it'll have call function called initializeteaserloader details of campaigns displayed in location , path associated user segments. campaign displayed fetched via ajax call.
Comments
Post a Comment