This message was deleted.
# announcements
w
This message was deleted.
f
Are you caching the feature definitions json?
b
Yes, with an in-memory database
f
that should be really fast
b
It actually is. Just wondering if someone comes up with something better than calling
new GrowthBook()
in every request
f
There is a
destroy
method you can use at the end of the request to release some memory back. The instances are extremely lightweight. It's technically possible to reuse instances, but usually not worth the complexity.
b
Thanks both of you for the fast response.
148 Views