Manual:RebuildFileCache.php

This page is a translated version of the page Manual:RebuildFileCache.php and the translation is 58% complete.

Detalles

El archivo rebuildFileCache.php es un script de mantenimiento para construir el caché de archivo para páginas de contenido.

$wgUseFileCache must be true for this script to work.

Note that the script will generate the cached files with the same owner as the user running the script. Depending on the file permissions, this may cause permission problems when viewing those pages or when those pages need to be regenerated by normal web browsing. To avoid such problems, it's recommended to run this script as the same user that runs the web server, or fix file owner and permissions once the script finishes.

Uso

Parámetros

Opción/parámetro Descripción
--start Page_id to start from.
--end Page_id to end on.
--overwrite Refresh page cache.