A/B testing is beneficial to the business to test new features and measure user engagement. But this often comes with the cost of impacting page performance and user experience.
Loading...
https://www.edgecompute.live/edgeworkers/trafficRouting/ABtestEW.html
Copied to clipboard!
By moving the A/B test to the Akamai edge we can cache multiple variants of the same page close to the user making the decision of which variant to serve to the user without making the long round-trip to the origin web server or relying on client-side javascript.
Cache Integration
Combine performance benefits from CDN caching with dynamic edge compute logic.
Dynamic Flexibilty
Modify in-flight content on its way between client and origin server and back to clients.
Personalized Experience
Provides personalized content based on location, device, or request details.
Reduce Latency
Speed up response times by moving work closer to users.
Related Examples
View MoreA/B Testing
Randomly assigns a new user to a group for A/B testing. The assignment is stored in a cookie and passed to the origin in a query parameter. The A/B group can be forced via a query string parameter for easy testing. The group names, percentage split, cookie name, and query parameter name are configured through constants in the EdgeWorker JavaScript module.
Multivariate Testing
Enables multivariate testing where multiple tests are executed simultaneously. A single variant is selected for each test, and variants are randomly assigned to new users, with each selected variant stored in a cookie and passed to the origin in a query string parameter. The probability of choosing each variant can be configured by adjusting the weight of each variant. Variants can be forced via a query string parameter for easy testing. Custom actions can be executed in the request and/or response phase of each variant, such as routing a variant to a different origin or constructing a response at the edge.