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

Use OPFS persistent storage #666

Merged
merged 2 commits into from
Nov 2, 2024
Merged

Use OPFS persistent storage #666

merged 2 commits into from
Nov 2, 2024

Conversation

Jaifroid
Copy link
Member

Fixes #665.

@Jaifroid Jaifroid added enhancement experimental Experimental features labels Oct 31, 2024
@Jaifroid Jaifroid added this to the Release 3.5.0 milestone Oct 31, 2024
@Jaifroid Jaifroid self-assigned this Oct 31, 2024
@Jaifroid
Copy link
Member Author

Working well on Firefox for Android on my own device. In Chrome/Chromium, persistence appears to have no effect and is auto-denied, but we continue anyway, and a large quota is still available. It seems that the Chromium implementation of OPFS does not use persistence, but it is crucial for Firefox use at least on Android.

@Jaifroid
Copy link
Member Author

I should probably change the log level of persistence messages in console.

@Jaifroid Jaifroid merged commit 30b346d into main Nov 2, 2024
@Jaifroid Jaifroid deleted the Use-OPFS-persistent-storage branch November 2, 2024 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement experimental Experimental features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix Firefox quota issue by requesting persistent Storage type for Origin Private File System
1 participant