The maximum amount of data to buffer in memory before writing to disk during a download.
Once this limit is reached, the cache stream will flush the buffer to disk. However, the download will continue to buffer more data. The download stream will only be paused if it is receiving more data than it can write to disk. As a result, the theoretical maximum memory usage of a cache download is double this value.
Default value is 25MB.
The preferred minimum size of chunks emitted from the cache download stream.
Network data is buffered until reaching this size before being emitted downstream.
Larger values improve I/O efficiency at the cost of increased memory usage.
Default value is 64KB.
The minimum number of bytes that must exist between the current download position
and a range request's start position before creating a separate download stream.
Set to null to disable separate range downloads.
When false, deletes the metadata file after the cache is complete.
Metadata is always saved for incomplete cache files when savePartialCache is true, so the download can be resumed.
This value should only be set to false if you have no intention of creating a cache stream for the cache file again.
Default is true.