Get the latest tech news
Origin private file system
The origin private file system (OPFS) is a storage endpoint provided as part of the File System API, which is private to the origin of the page and not visible to the user like the regular file system. It provides access to a special kind of file that is highly optimized for performance and offers in-place write access to its content.
As a result, it doesn't require the same series of security checks and permission grants and is therefore faster than File System Access API calls. Browsers persist the contents of the OPFS to disk somewhere, but you cannot expect to find the created files matched one-to-one. Web Workers don't block the main thread, which means you can use the synchronous file access APIs in this context.
Or read this on Hacker News