memoryCacheStore()
A CacheStore in memory, for tests and for hosts without IndexedDB.
makeSceneWorker()
Encode models and bake static placements on a worker, main-thread side (the worker runs serveScene). With it, makeInstanceLayer(renderer, { worker }) builds its static set off the main thread (layer.commitAsync()): the main thread only packs the models' bricks to send, claims their pool slots...
openModelCache()
The model cache in IndexedDB database name, or null where there is none (bun, some private windows, a database an older build in another tab holds open). Used by serveGenerators in the worker; entries stored under any other salt are deleted when it opens, so a new build frees the old build's models.