Manual:$wgUseFileCache

Details
Set to   to activate the server-side file cache.

The cache consists of static HTML pages that are served to unregistered viewers to reduce database traffic.

If  is set to  ,   and   will automatically be set to  .

(Part of that automatically done after r46374.)

The HTML pages will be created in the directory specified by  .

You must create the directory yourself though.