https://www.growthbook.io/ logo
#give-feedback
Title
# give-feedback
d

damp-continent-87510

05/30/2022, 1:57 PM
Hi! is there a way to have Growthbook store the latest features configuration to a file on the system? This would be like using a webhook but for storing the data to file(s) instead of sending it over to some other service. If i understand correctly right now the features data is fetched on every request, is that right?
f

future-teacher-7046

05/30/2022, 1:59 PM
What SDK are you using? We recommend caching the feature definitions instead of fetching them on every request. You can do this by storing it in a file or using a cache system like Redis.
d

damp-continent-87510

05/30/2022, 2:01 PM
we're using the react-sdk, that's pretty much what we're trying to do but i was wondering if there's a way to have Growthbook directly store the definitions to a specific folder, which can then be shared with a service that only serves the stored definitions
f

future-teacher-7046

05/30/2022, 2:04 PM
I see. Easiest thing right now would be adding a Webhook that triggers a lambda function to update S3 (or another filesystem).
d

damp-continent-87510

05/30/2022, 2:09 PM
got it, thanks!
18 Views