Thanks for the response @happy-autumn-40938 😄
Let's say I have an experiment with a feature flag that splits traffic in "Control", "A" and "B". The user hits the fastly edge node and get's evaluated to get "B". There's no cached page of variant "B" so it goes to the origin. How does the origin know that the user should get variation "B"? Maybe that's only possible with url redirects instead of more basic feature flags being setup?
I would expect the Edge SDK to evaluate the feature flag variation the user should receive, respond with it if it's cached or generate it if not. But I feel like there's a big point I'm missing on the idea of the Edge SDK. In many cases at TV2 Denmark, we just want to be able to run an experiment where users are served 4 different variations of the same page. For example with different ad display logic. We would set it up so that the react application would know, based on the incoming request, how to render a page with a specific variation. Is URL redirect tests the only way to handle this?
The dream scenario would be to have the Edge SDK split traffic for us, and then when the request hits the origin we just use the standard node/React SDK's to get the feature flag information and let it render based on our application logic.