The size of the chunk cache in bytes. A value of less than or equal to 0 will disable caching of chunks.
When streaming the Zip file over internet, it is recommended to increase this option to prevent downloading the same chunk twice.
Defaults to 16 MB (16000000)
ZipResourceProvider tries to fit at least one file in a chunk. If a file is larger than "maxChunkSize" bytes, the file will be requested with multiple chunks.
Defaults to 400kB
ZipResourceProvider reads the zip-archive in chunks. The chunks are aligned to match the one or more compressed files within the archive.
The preferredChunkSize tells ZipResourceProvider how big each chunk should be in bytes. Note that the actual chunkSize value will be less or more than this value depending on how the files are laid out inside the archive.
Defaults to 100kB
If true, ArrayBuffers returned by IRandomAccessDataSource will be "transferred" to the zip webworker which may increase performance. If false, ArrayBuffers will be copied to the webworker.
Defaults to false.
Generated using TypeDoc
Options for IZipResourceProvider