Flagship Edge worker Integration

Welcome to the Flagship Edge worker Integration Hub! This guide provides a high-level overview of how to integrate Flagship feature flagging and experimentation into your edge computing stack using:

Whether you're optimizing performance, personalizing user experiences, or running A/B tests at the edge, Flagship enables you to make real-time decisions closer to your users.


🌐 Why Edge + Flagship?

  • Ultra-low latency: Serve personalized content instantly from the edge.
  • Resilient architecture: Avoid centralized bottlenecks by caching bucketing data locally.
  • Scalable experimentation: Run feature flags and A/B tests without sacrificing performance.

🛠️ Integration Highlights

PlatformSDK ModeBucketing cacheAnalytics Support
Cloudflare WorkersBUCKETING_EDGEKV Storage or Local JSON✅ Yes
Fastly Compute@EdgeBUCKETING_EDGEKV storage or Local JSON✅ Yes
Vercel Edge FunctionsBUCKETING_EDGEEdge Config or Local JSON✅ Yes

📦 Prerequisites

  • A Flagship account with API credentials
  • Node.js (v18+) and Yarn (v4+)
  • Platform-specific CLI tools (e.g., wrangler, fastly, vercel)
  • Bucketing data from Flagship CDN

📚 Next Steps

Choose your platform to dive into the full integration guide: