Edge Computing with Cloudflare Workers
Test New Features and Iterate Quickly with Cloudflare Workers

Test New Features and Iterate Quickly with Cloudflare Workers

6/19/2018 · Remy Guercio

What this post added

This post introduces techniques for gating features and performing A/B testing using Cloudflare Workers. It details how to securely fetch user permissions from an origin endpoint, cache these permissions for subsequent requests, and use them to conditionally serve content, route requests to different origins, or restrict access to specific API versions or documentation. The examples provided demonstrate how to implement path restrictions, A/B testing logic based on user groups, and custom routing between origins.

Read the original post ↗