Every OPFS directory the viewer persists lives under ONE top-level folder,
luxar/, rather than at the origin's OPFS root. An embedder's own OPFS
usage (or another library on the same origin) never collides with the
zarr-cache-<hash> dataset directories, and a host can wipe the viewer's
footprint with a single removeEntry('luxar', { recursive: true }).
The dataset-directory prefix (zarr-cache-) and OPFS_ENCODING_VERSION
are unchanged: moving under luxar/ is itself the invalidation — a
pre-namespace zarr-cache-* directory at the OPFS root is simply never
read again.
The viewer's OPFS namespace directory.
Every OPFS directory the viewer persists lives under ONE top-level folder,
luxar/, rather than at the origin's OPFS root. An embedder's own OPFS usage (or another library on the same origin) never collides with thezarr-cache-<hash>dataset directories, and a host can wipe the viewer's footprint with a singleremoveEntry('luxar', { recursive: true }).The dataset-directory prefix (
zarr-cache-) andOPFS_ENCODING_VERSIONare unchanged: moving underluxar/is itself the invalidation — a pre-namespacezarr-cache-*directory at the OPFS root is simply never read again.