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

indexdb and cache api #1563

Open
cometta opened this issue Apr 6, 2025 · 1 comment
Open

indexdb and cache api #1563

cometta opened this issue Apr 6, 2025 · 1 comment

Comments

@cometta
Copy link

cometta commented Apr 6, 2025

currently WXT only support local storage. Local storage has max disk space limit. Any plan to support index db and cache api to store data?

@aklinker1
Copy link
Collaborator

No, the storage package, @wxt-dev/storage, will not add support for IndexedDB. It's a wrapper around the browser.storage APIs, and IDB isn't in it's scope.

However, there are already great packages out there for IDB, see the example: https://github.com/wxt-dev/examples/tree/main/examples%2Ffavicon-tracker

CacheStorage is also out of scope for the same reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants