The Origin Private File System (OPFS, part of the File System Access API) is augmented with a new surface that brings very performant access to data. This new surface differs from existing ones by offering in-place and exclusive write access to a file’s content. This change, along with the ability to consistently read unflushed modifications and the availability of a synchronous variant on dedicated workers, significantly improves performance and unblocks new use cases.
Motivation
Our goal is to give developers flexibility by providing generic, simple, and performant primitives upon which they can build higher-level storage components. The new surface is particularly well suited for Wasm-based libraries and applications that want to use custom storage algorithms to fine-tune execution speed and memory usage.
Status in Chromium
Enabled by default
(tracking bug)
Consensus & Standardization
- No signal
- In development
- No signals
Owners
Intent to Prototype url
Intent to Prototype threadLast updated on 2022-05-12
Comments
This feature comes from an effort to integrate Storage Foundation API (https://www.chromestatus.com/feature/5670244905385984) into the File System Access API.