Optional
allowAllows to collect unused memory allocated during deserialization. This requires copying data into smaller buffers and has a performance cost.
Optional
buildDependencies the build depends on (in multiple categories, default categories: 'defaultWebpack').
Optional
cacheBase directory for the cache (defaults to node_modules/.cache/webpack).
Optional
cacheLocations for the cache (defaults to cacheDirectory / name).
Optional
compressionCompression type used for the cache files.
Optional
hashAlgorithm used for generation the hash (see node.js crypto package).
Optional
idleTime in ms after which idle period the cache storing should happen.
Optional
idleTime in ms after which idle period the cache storing should happen when larger changes has been detected (cumulative build time > 2 x avg cache store time).
Optional
idleTime in ms after which idle period the initial cache storing should happen.
Optional
immutableList of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.
Optional
managedList of paths that are managed by a package manager and can be trusted to not be modified otherwise.
Optional
maxTime for which unused cache entries stay in the filesystem cache at minimum (in milliseconds).
Optional
maxNumber of generations unused cache entries stay in memory cache at minimum (0 = no memory cache used, 1 = may be removed after unused for a single compilation, ..., Infinity: kept forever). Cache entries will be deserialized from disk when removed from memory cache.
Optional
memoryAdditionally cache computation of modules that are unchanged and reference only unchanged modules in memory.
Optional
nameName for the cache. Different names will lead to different coexisting caches.
Optional
profileTrack and log detailed timing information for individual cache items.
Optional
storeWhen to store data to the filesystem. (pack: Store data when compiler is idle in a single file).
Filesystem caching.
Optional
versionVersion of the cache data. Different versions won't allow to reuse the cache and override existing content. Update the version when config changed in a way which doesn't allow to reuse cache. This will invalidate the cache.
Generated using TypeDoc
Options object for persistent file-based caching.