← Back to release summary

Storage Foundation API

Category
Offline / Storage
Type
New or changed feature
Status
No longer pursuing (Chrome No longer pursuing)
Intent stage
Origin Trial

WPT details: https://wpt.fyi/results/native-io

Summary

Storage Foundation API is a storage API that resembles a very basic filesystem, with direct access to stored data through buffers and offsets. Our goal is to give developers flexibility by providing generic, simple, and performant primitives upon which they can build higher-level components. It's particularly well suited for Wasm-based libraries and applications that want to use custom storage algorithms to fine-tune execution speed and memory usage.

Motivation

A generic, performant and low-level storage API would enable web developers to create or port storage libraries that offer the right guarantees and interface for their application. Pushing the storage layer onto the client-side allows developers to rely on interfaces that are cross-platform and widens the possible APIs from the ones currently provided by the Web Platform to the ones that could be ported or created.

Standards & signals

Ecosystem

Explainers: https://github.com/WICG/storage-foundation-api-explainer

View on chromestatus.com