Skip to content

Fast init with localStorage cache age config #311

Open
@romulof

Description

@romulof

Is your feature request related to a problem? Please describe.

When my app initializes using it has to wait for LD to connect before I start rendering content.

If I don't wait, it uses localStorage cache, which might be inexistent or old.

Describe the solution you'd like

To have a configuration that says how old localStorage cache can be to make init go faster by not waiting for LD to connect.

Describe alternatives you've considered

Manually checking if there are LD entries in localStorage to decide if I should wait or not for LD init before it starts rendering.

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