Hierarchy

  • ConfigureOptions

Properties

maxFileCount?: number

If provided, limits the max number of files in cache at any given time. This will override both maxFileSizeBytes and maxTotalCacheSizeBytes if there are a bunch of very small files in the cache and neither of these thresholds are met.

must be a positive integer

min: 1 max: 100 default: 40

maxFileSizeBytes?: number

If provided, will limit the size of each chunk file to the given value in bytes.

must be a positive integer

min: 1000 (1KB) max: 4000000 (4MB) default: 2000000 (2MB)

maxTotalCacheSizeBytes?: number

If provided, will limit the aggregated total cache size that this plugin will use. This is the total size of all chunk files, so if the max file size is 2MB and this is set to 4MB, there will never be more than (approximately) 2 full chunk files in storage at any given time.

must be a positive integer

min: 1000 (1KB) max: 64000000 (64MB) default: 8000000 (8MB)

minLevel?: SecureLogLevel

If provided, will filter all logs on both webview and native that are below the given level from entering the file cache. For example, if this is set to DEBUG, all TRACE logs will be filtered out.

default: SecureLogLevel.VERBOSE

Generated using TypeDoc