Edge Computing with Cloudflare Workers
Enhancing the Optimizely Experimentation Platform with Cloudflare Workers

Enhancing the Optimizely Experimentation Platform with Cloudflare Workers

6/5/2019 · Guest Author, Remy Guercio

What this post added

This post details how Optimizely leverages Cloudflare Workers to enhance its experimentation platform. For client-side A/B testing, Optimizely Workers are used to hoist critical logic to the edge, reducing the amount of JavaScript downloaded and executed by the browser, thereby avoiding FOUC and performance issues. For server-side feature rollouts, Optimizely uses Workers as a centralized decision service, allowing feature flags to be managed at the edge without requiring origin server code deploys or impacting cached content. A sample Cloudflare Worker code snippet is provided to illustrate how the Optimizely JavaScript SDK can be instantiated at the edge to act as a decision service.

Read the original post ↗