Loading
Get Started with B2C Commerce
Caching with A/B Testing for B2C Commerce

Caching with A/B Testing for B2C Commerce

Salesforce B2C Commerce provides different page caching configurations.

If you apply personalized prices in an A/B test via promotions, use the personalization parameter <varyby="price_promotion"> in the iscache tag of the corresponding templates. Using this parameter make sure that the personalized pages cache properly. We recommend, as a best practice, that you cache whenever possible. Uncached catalog, product, or search pages - whether A/B testing pages or regular pages - aren’t recommended because they degrade performance.

For example, use the following in your template if you apply personalized prices in an A/B test via promotions:

<iscache type="relative" minute="30" varyby="price_promotion"/>

By definition, the control group must contain no customization. If you introduce a custom experience for a control group, the pipeline/template containing the customization is no longer cacheable.

 
Carregando
Salesforce Help | Article