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.

The HTML pages will be created in the directory specified by  . You must create the directory yourself though.

If  is set to  ,   will automatically be set to  . (Part of that automatically done after .)