Crumbtrail
    Preparing search index...

    Interface IZStreamFileOptions

    Options for the stream file object.

    interface IZStreamFileOptions {
        cache?: { fileSize?: bigint; maxFiles?: number };
    }
    Index

    Properties

    Properties

    cache?: { fileSize?: bigint; maxFiles?: number }

    Cache options.

    A warning that file content caching will take up significant memory if the file size is too big or the max files is too big. Make sure you know what you're doing when you change the default values of this.

    Type Declaration

    • OptionalfileSize?: bigint

      Maximum number of bytes a file can be before it will not be cached. The default is 100 Kib (102400 bytes)

      102400
      
    • OptionalmaxFiles?: number

      The maximum number of files that are to be cached. The cache order is first in, first out. Set this to 0 to not cache anything. The default is 1000.

      1000