You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
LD SDK shares localStorage space with our app, and there is no constrain on how much data LD SDK can use, leading to unexpected localStorage quota issues.
Describe the solution you'd like
LD SDK to have a configuration of how many kB could be allocated for cache
Optionally use some compression algorithm to save some space
Describe alternatives you've considered
I had to write a procedure for my app init to cleanup old LD cache entries, because I was running out of quota, or simply turn off localStorage cache, slowing down my application.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Thank you for the recommendation. I agree that the SDK shouldn't be unconstrained as it is now.
Our general strategy for this across the SDKs is having a cached context control. By default it does 5 contexts and can be adjusted. It doesn't handle things on the kB level, but the size of the cache for any given context cannot be known ahead of time, so potentially you may have a quota that allows no caching.
Is your feature request related to a problem? Please describe.
LD SDK shares localStorage space with our app, and there is no constrain on how much data LD SDK can use, leading to unexpected localStorage quota issues.
Describe the solution you'd like
Describe alternatives you've considered
I had to write a procedure for my app init to cleanup old LD cache entries, because I was running out of quota, or simply turn off localStorage cache, slowing down my application.
Additional context
N/A
The text was updated successfully, but these errors were encountered: