I am evaluating growthbook for my company, and was...
# sdk-react
e
I am evaluating growthbook for my company, and was wondering, besides caching(at various points/mechanisms), if the api encounters an outage, does the cdn still return values? what is the company's stance on if there is an outage in the api essentially?
f
We make sure that GrowthBook will fail gracefully
e
that sounds good, is there something detailing this that I can read?
f
our CDN is setup for stale while revalidate, so it will return an old value if there - and if that fails, you can set a fallback in the code
e
ok, so in the event of an outage, it will return old values?
f
well, it will return the last known value
are you talking about our cloud?
e
yes, should have specified that 🙂
f
ya, so we almost never have outages 🙂
e
also a good thing
🙂
f
we have Fastly in front of our API
e
but you know I have to ask, right?
🙂
f
so it will still return if the API fails somehow
and then, as I say, you can set a fallback value in the code if something really bad happens
e
yep, for sure.
thanks for your help!