|Set this to current time to invalidate all prior cached pages.
|其他设置： 按首字母排序 | 按功能排序|
Set this to current time to invalidate all prior 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
$wgCacheEpoch = 20210918224258;
If you are using a Unix-like system you can get the current date by entering the following on the command-line:
To force a file, such as "LocalSettings.php" to be re-read when touched, you can use the following code (MW < 1.17):
# When you make changes to this configuration file, this will make sure that cached pages are cleared. $wgCacheEpoch = max( $wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) );