Hi there, we are evalauting growthbook. Has anyon...
# ask-questions
m
Hi there, we are evalauting growthbook. Has anyone used it with Varnish, yet? In order to maintain caching, we would need an API call that for every user individually returns which features / experiment variations are enabled / disabled. I did not find this in the API docs. Is there such call? Thanks for your help
f
you can set up GrowthBook that way
using remote evaluation
by default we do local evaluation - you can adjust that in the SDK setup
m
Thanks for the explanation. Remote Evaluation does not result in all flags being returned for a single call either, does it? Because we would need the entirety of applicable flags with their configured values as one string to use that as a cache key
r
No, Remote Evaluation in GrowthBook does not result in all flags being returned for a single call. Instead, a new evaluation API call is made any time a user attribute or other dependency changes. You can limit these API calls to specific attribute changes by setting the ​`cacheKeyAttributes`​ property, which is an array of attribute names that, when changed, trigger a new evaluation call.