Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Use localForage instead of localStorage #2281

Open
sy-records opened this issue Oct 18, 2023 · 0 comments
Open

Feature: Use localForage instead of localStorage #2281

sy-records opened this issue Oct 18, 2023 · 0 comments
Milestone

Comments

@sy-records
Copy link
Member

Feature request

Use localForage instead of localStorage.

Problem or desire

Solve the problem that too many search indexes cannot be stored in localStorage.

Proposal

https://github.com/localForage/localForage

Implementation

Because localForage uses async storage, it has an async API. It's otherwise exactly the same as the localStorage API.

Should just need to replace localStorage in src/plugins/search/search.js

@sy-records sy-records changed the title Use localForage instead of localStorage Feature: Use localForage instead of localStorage Oct 18, 2023
@jhildenbiddle jhildenbiddle added this to the 6.x milestone Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants