Optimized Client Rendering

This page fetches feature flags and experiments at build time, but waits to evaluate them until client-side rendering. This gives you flexibility while avoiding flicker.

  • feature1: OFF
  • feature2: fallback

In this example app, feature flag definitions are cached for 60 seconds. For faster updates, you can configure an SDK Webhook in GrowthBook to hit the following route handler: POST /revalidate