Optionalcompressv13+: deflate-raw compress geometry chunk records above the size floor (default true). Disable for byte-inspection/debugging or when write latency matters more than entry size.
OptionalcompressUse one lazy browser module worker for geometry compression (default false). Requires Worker support and a bundled worker asset; failure rejects the write. Has no effect when compression is disabled or all chunks are below its floor.
OptionalincludeInclude geometry data (default: true)
OptionalincludeInclude spatial hierarchy (default: true)
OptionalomitSkip the header's full-file xxhash64(sourceBuffer): store sourceHash = 0n
and set HeaderFlags.SourceHashUnset. Use when the caller validates
the source by another means (e.g. an application-layer content hash), so a
large source pays NO full-file main-thread hash on write. Consumers that
would validate against the header (reader.validate() / read({ sourceBuffer })) can then detect the absence via CacheHeaderInfo.hasSourceHash instead of silently fail-closing. Default
false (the writer hashes the whole sourceBuffer, unchanged).
Options for writing cache