On this page

new MemoryCachePlugin(): MemoryCachePlugin
apply(compiler): void
Attributes
compiler:Compiler
the compiler instance
Returns:void

Applies the plugin by registering its hooks on the compiler.