-
-
Notifications
You must be signed in to change notification settings - Fork 648
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
When will dexie support relaxed durability transactions #1018
Comments
Firefox uses relaxed durability in all IDB transactions without opting in to it, while Chrome and other browsers uses strict durability. Now Chrome wants to enable relaxed durability as an opt-in. From a developers point of view, it would be nice if the behavior could be same along implementations and that it would have the same default value. For now, Dexie does not specify the So for Dexie, this could be a two-step feature: Step 1: Start specifying {relaxedDurability: true} on all transactions. Will only be used by chrome 83 and later. All others would ignore it. Firefox would use relaxed durability anyway. Step 2: Allow explicit durable transactions, by introducting the "d" letter in dexie's transaction mode. This would only be respected by chrome 83 and later, and maybe also in a later version of Firefox if they want to go for it. Safari would keep using durable transactions in all cases unless they also want to use the flag. |
This is now possible per #1367, and has been released in |
Chrome Exposes an optional relaxedDurability parameter on IDBDatabase.transaction to control flushing to disk. And will available at 83.
How long will Deixe support this feature after the 83 version is released?
https://chromestatus.com/feature/5730701489995776
The text was updated successfully, but these errors were encountered: