Cloudflare

Enhancing the Optimizely Experimentation Platform with Cloudflare Workers

Jun 5, 2019Guest Author, Remy Guercio
Enhancing the Optimizely Experimentation Platform with Cloudflare Workers
SummaryAI, from the source post

This post details how Optimizely leverages Cloudflare Workers to improve performance and agility for its experimentation platform. For client-side A/B testing, Optimizely uses Workers to offload decision logic to the edge, returning a small amount of JavaScript to the browser for specific page loads, thus avoiding browser bottlenecks and FOUC. For server-side feature rollouts, Optimizely centralizes the instantiation of its JavaScript SDK within a Cloudflare Worker, which acts as a decision service. This Worker can be called from applications to determine feature enablement for a given user, reducing the need for origin server requests and simplifying full-stack implementation for applications relying on heavy caching.

More from the Edge Computing with Cloudflare Workers trail