Skip to content

Better localStorage space management #310

Open
@romulof

Description

@romulof

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions