In the previous article, we discussed how to setup plug_http_cache to cache Phoenix’s response. In this article, we’ll take a look at the specific case of caching when doing A/B testing. A/B testing consists in presenting 2 different versions of a page (page A and page B) to users and comparing the users’ behaviour to determine which version performs better. Usually, a user is randomly assigned a group (A or B) when first visiting the site implementing A/B testing and sticks to this gro...