Manual:$wgUseFileCache

Details
This will cache static pages for non-logged-in users to reduce database traffic on public sites. Must set.

See also meta:Help:File_cache