https://www.growthbook.io/ logo
Join Slack
Powered by
# sdk-edge
  • l

    little-action-20631

    08/06/2024, 6:35 AM
    It's quiet in here
  • l

    little-action-20631

    08/06/2024, 6:35 AM
    I'm wondering if the Lambda@Edge solution might be a solution to some of our cache-related issues.
    r
    • 2
    • 3
  • l

    little-action-20631

    08/06/2024, 6:38 AM
    I'd love to learn a bit more about it
  • l

    little-action-20631

    08/07/2024, 12:23 AM
    I assume this channel is for discussion on the Edge SDKs?
    r
    s
    • 3
    • 8
  • a

    average-dusk-69140

    09/12/2024, 6:45 AM
    Yes, I have setup edge worker. However, I have client side app Angular so I get variant page only if I access it directly by URL. If I navigate to experiment page inside application, I don't get variant page displayed. How can I combine edge worker with other setup?
  • a

    average-dusk-69140

    09/30/2024, 6:53 AM
    Hello, I have already setup Cloudflare Growthbook SDK and it works. However, I have a problem with caching. My infra setup is: Cloudflare -> Azure cache -> FE server. Azure cache - caches pages by path and query param. But as I understand both ab test versions will go from edge worker to FE server as regular URL. So, the problem is that cache may return A version of the website when user should receive B version. • Do you have any recommendations on caching while using Cloudflare edge worker? • What URL does edge worker sends to FE server? Maybe it adds some query params? • Is there any docs, how it works under the hood? • Is there someone I could consult about how to use edge worker?
    f
    f
    r
    • 4
    • 22
  • a

    average-dusk-69140

    10/08/2024, 8:30 AM
    👻
    r
    • 2
    • 1
  • a

    average-dusk-69140

    10/08/2024, 8:30 AM
    ⬆️
  • g

    gentle-planet-18535

    10/31/2024, 3:28 PM
    Hi there, Did someone have already implemented Lambda@Edge SDK ? I am struggling to make it work. A bit of help would be appreciate 🙂
    h
    r
    • 3
    • 15
  • f

    fresh-stone-24633

    11/11/2024, 1:39 PM
    Hello everybody 🙂 👋 @kind-autumn-215
  • k

    kind-autumn-215

    11/12/2024, 11:21 AM
    Hey Specialists! I'm currently experimenting with edge-cloudflare and I'm running into some questions and issues. Hopefully someone can shed some light on this. Just as some background, for our experiments we use Featureflagging and a custom build GB script. We do not use the visual editor or use redirect variants. To implement the CF worker, a PROXY_TARGET needs to be set. Questions: 1. What is this proxy target for? The intention is to use a wildcard CF route for the worker - which means the worker should run on all paths on the site. So what is the recommended value here? 2. I'm noticing that the growthbook script is injected not only on HTML pages - but also inside js scripts - which breaks the site. What am I missing here?
  • s

    sparse-toddler-71034

    05/07/2025, 10:56 AM
    Hi, I'm trying to get a connection between our self hosted GrowthBook app in ECS Fargate and the basic Lambda Edge turnkey app. I am using "viewer-request" for the Lambda association but the browser responds HTTP 502 - The function tried to add a blacklisted header. I think it's the connection header. Any idea what I can do to fix this? Thanks.
  • s

    sparse-toddler-71034

    05/07/2025, 10:58 AM
    The growthbook app sees a connection to Lambda Edge - just the app to be A/B tested gives the 502
  • s

    sparse-toddler-71034

    05/07/2025, 3:02 PM
    Just testing now but it seems
    FORWARD_PROXY_HEADERS: false
    may have solved this
    👀 1
  • f

    fresh-pencil-44589

    06/25/2025, 3:10 PM
    @sparse-toddler-71034 We're experimenting w growthbook and I think I've run into the same issue with the 502. When I added growthbook to the edge, all the requests were timing out 3s and the browser was showing 502. Were you seeing timeouts?
  • s

    sparse-toddler-71034

    07/02/2025, 9:01 PM
    Hi Nate, seems like a long time ago now but I did get it working in the end. I can't quite remember the specifics of how I got it to work off hand. Have you managed to fix your issue?