Manual:$wgCacheEpoch/es

Category:MediaWiki configuration settings/es#CacheEpochCategory:MediaWiki configuration settings introduced before version 1.1.0/es#CacheEpochCategory:MediaWiki configuration settings still in use/es#CacheEpochCategory:Cache variables/es#CacheEpoch
Cache: $wgCacheEpoch
Set this to current time to invalidate all prior cached pages.
Introducido en la versión:antes de 1.1.0
Eliminado en la versión:aún se usa
Valores permitidos:Date/Time string
Valor predeterminado:'20030516000000'

Detalles

Set this to a timestamp to invalidate all pages cached prior to that (e.g. to the current time to invalidate all currently cached pages). Affects both client- and server-side caching, including assets controlled by the ResourceLoader.

For a quick copy-paste you can use the following line, whose timestamp is generated via {{CURRENTTIMESTAMP}}:

$wgCacheEpoch = 20250703150811;

If you are using a Unix-like system you can get the current date by entering the following on the command-line:

date +%Y%m%d%H%M%S

To force a file, such as LocalSettings.php to be re-read when touched, you can use $wgInvalidateCacheOnLocalSettingsChange.

Véase también

Category:Cache variables/es Category:MediaWiki configuration settings/es Category:MediaWiki configuration settings introduced before version 1.1.0/es Category:MediaWiki configuration settings still in use/es