Join Slack
Powered by
This message was deleted.
# ask-questions
w
worried-planet-2191
12/22/2023, 8:21 AM
This message was deleted.
f
fresh-football-47124
12/22/2023, 5:01 PM
Hi Sean, sure - the local storage is used to keep a copy of the features and rules from the SDK endpoint. It will be considered stale after 1 minute. You can find the code for this here:
https://github.com/growthbook/growthbook/blob/main/packages/sdk-js/src/feature-repository.ts
fresh-football-47124
12/22/2023, 5:02 PM
The purpose is to reduce the need for network calls when using GrowthBook on the client side.
138
Views
Open in Slack
Previous
Next