Manual:$wgCacheDirectory

Details
Directory for caching interface messages in the local filesystem.

Should not be accessible from the web (chmod 700 on Unix).

If   is set to false (or not set), MediaWiki will attempt to use the system directory for temporary files instead.

The usage of   depends on the settings of  .