Skip to content

Why use sessionStorage over localStorage #2

@TxHawks

Description

@TxHawks

Is there a reason to use sessionStorage over localStorage to optimize for repeat visits? My understanding is that using sessionStorage only optimizes for repeat visits within the same window (so not even new tab), while localStorage could also for repeat visits after the window is closed or a new tab is opened.

Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions