Skip to main content
webpack / MemoryCacheOptions

Interface: MemoryCacheOptions

Defined in: webpack/types.d.ts:10517 Options object for in-memory caching.

Properties

cacheUnaffected?

optional cacheUnaffected: boolean
Defined in: webpack/types.d.ts:10521 Additionally cache computation of modules that are unchanged and reference only unchanged modules.

maxGenerations?

optional maxGenerations: number
Defined in: webpack/types.d.ts:10526 Number of generations unused cache entries stay in memory cache at minimum (1 = may be removed after unused for a single compilation, …, Infinity: kept forever).

type

type: "memory"
Defined in: webpack/types.d.ts:10531 In memory caching.