I'm running a split A-B test on a couple of homepage layouts. There's an observer that sets up the session variable (group A or group B) and then the layout changes based on that variable.
The problem is that the page is caching (in the Magento full-page cache) and no matter what group the user is in, they are all seeing either the A page or B page.
Can I modify Magento so that each version of the homepage caches seperately? Or can I disable caching entirely on the homepage? Or is there a better way to do this kind of test?