This message was deleted.
# ask-questions
w
This message was deleted.
f
What problem were you running into?
d
Thanks for a quick reply, we had no issues with Growthbook's SDK, but rather the infra itself. Here is a brief diagram of how our current "flow" looks like: 1. User enters omnicalculator.com/finance 2. The DNS resolves the domain to the AWS server 3. The server redirects them to the
www
subdomain which has a CNAME record pointing it to KeyCDN 4. What the user sees at www.omnicalculator.com/finance is a cached version of the page served by KeyCDN
Here is how it would look like with the Cloudflare Worker:
There is an infinite redirect potential when the KeyCDN pulls content from our server, but we have a logic to prevent that (the CDN is set up to forward the host header for example). With the additional step of a Cloudflare Worker, we would have to rewrite this logic as it was causing many networking problems. While this is obviously doable we decided it would be worth asking if anyone here was dealing with a similar setup before proceeding with further work.
cc @purple-book-37233
137 Views