Reader

Flags SDK 3.2

| Vercel News | Default

The Flags SDK 3.2 release adds support for precomputed feature flags in SvelteKit, making it easier to experiment on marketing pages while keeping them fast and avoiding layout shift.

Precomputed flags evaluate in Edge Middleware to decide which variant of a page to show. This keeps pages static, resulting in low global latency as static variants can be served through the Edge Network.

Precompute handles the combinatory explosion when using multiple feature flags statically. Generate different variants of a page at build time, rely on Incremental Static Regeneration to only build a specific combinations on demand, and more.

We also improved the Flags SDK documentation by splitting it across different frameworks and explicitly listing all providers that have adapters for the Flags SDK.

Learn more about the Flags SDK with SvelteKit and the precompute pattern.

Read more