https://www.growthbook.io/ logo
b

brief-traffic-36675

05/23/2023, 8:13 AM
Perhaps this is a noob question since I am not very familiar with front-end. Is it "client rendered" in GB? This is why I am asking: Does the client try to reach the backend/api directly from the browser? (Setting the
API_HOST
to
<http://localhost:3100>
never worked despite the fact this url was working from inside the container)
f

fresh-football-47124

05/23/2023, 3:22 PM
the client will request from the API
b

brief-traffic-36675

05/23/2023, 4:20 PM
do you happen to know if the request is made from the browser directly to the api?
f

fresh-football-47124

05/23/2023, 4:21 PM
If you are self hosting
It is up to you if put a proxy or cdn in front of the api
Or server from a local cache
b

brief-traffic-36675

05/23/2023, 4:23 PM
OK so in case I don't put anything and it is just the api, the browser will hit the api, right?
f

fresh-football-47124

05/23/2023, 4:24 PM
Yes, we will give you instructions when you make an SDK from within the app
👍 1
2 Views