Manual:$wgCacheDirectory
| Cache: $wgCacheDirectory | |
|---|---|
| Directorio del sistema de archivos local donde cachear los mensajes de la interfaz. |
|
| Introducido en la versión: | 1.16.0 (r52503) |
| Eliminado en la versión: | aún se usa |
| Valores permitidos: | (Cadena: ruta en el sistema de archivos) |
| Valor predeterminado: | false |
| Otras configuraciones: Alfabéticamente | Por Función | |
Detalles
This directory stores some cache files specific for a given wiki, which means wiki farms should have one such directory per wiki.
No debe ser accesible desde la web.
Either you can use the file .htaccess already in this directory, or you should configure it specifically (for example, if your webserver does not recognise .htaccess files).
Si $wgCacheDirectory es FALSE (o no está definida), algunos cachés pueden guardarse en el directorio del sistema destinado a archivos temporales.
Generally the best value is to set it to a directory writable by the web server but not in the path served by the web server.
If you have a wikifarm, they can potentially share a cache directory, but this is only safe if they are using the same version of MediaWiki and have the same extensions enabled.
This is commented in the file LocalSettings.php created during the installation and can be de-commented.
In this case, you should create the directory cache in your MediaWiki directory and make it writable by the web server.
Ten en cuenta que no debes establecer el directorio en '/tmp', de lo contrario se podrían generar conflictos con otras instalaciones de MediaWiki en el mismo servidor (familias Wiki o servidores compartidos)
This folder should probably be set to chmod -R 775 or 755.