On this page

Source Code: lib/cache/MemoryCachePlugin.js#L14
new MemoryCachePlugin(): MemoryCachePlugin
memoryCachePlugin.apply(compiler): void
Source Code: lib/cache/MemoryCachePlugin.js#L20
Attributes
compiler:Compiler

Applies the plugin by registering its hooks on the compiler.