@growthbook/edge-cloudflare
v0.1.15
Published
GrowthBook edge app for Cloudflare Workers
Downloads
501
Readme
Cloudflare Workers App & SDK
GrowthBook is a modular Feature Flagging and Experimentation platform.
The GrowthBook Edge App provides turnkey Visual Editor and URL Redirect experimentation on edge without any of the flicker associated with front-end experiments. It runs as a smart proxy layer between your application and your end users. It also can inject a fully-hydrated front-end SDK onto the rendered page, meaning no extra network requests needed.
- Automatically run server-side or hybrid Visual Experiments without redraw flicker.
- Automatically run server-side or hybrid URL Redirect Experiments without flicker or delay.
- Inject the JavaScript SDK with hydrated payload, allowing the front-end to pick up where the edge left off without any extra network requests.
In this package
This package provides an implementation of our Edge App specific to Cloudflare Workers.
This package also exports utility methods for using our JavaScript SDK in a Cloudflare Worker.
References
See the GrowthBook Cloudflare Workers docs for full installation instructions.
See the base GrowthBook Edge App for a complete list of configuration environment variables