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), some caches may be stored in the system directory for temporary files instead.

The usage of   depends on the settings of  .