-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestexamples
Description
Describe the feature request
It seems the current recommended approaches to get toggles with SSR/GSSP both use an un-cached fetch to the API. Since the definitions rarely change, I think it doesn't make much sense to fetch definitions for every request, but instead keep an unleash client instance around and re-fetch definitions every n seconds (in the background).
With this, we can then just do the toggles evaluation for each request.
Background
No response
Solution suggestions
Its fairly easy to implement something like this in user-land, but I think it would make sense to document/build this into the package itself for ease of usage.
BkSouX, mltsy and simonknittel
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestexamples
Type
Projects
Status
Todo