Manual:$wgCacheDirectory

Details
Directory for caching data in the local filesystem. Should not be accessible from the web. Set this to false to not use any local caches.