Manual:$wgCacheEpoch/ko
Appearance
| Cache: $wgCacheEpoch | |
|---|---|
| Set this to current time to invalidate all prior cached pages. |
|
| 이 변수가 소개된 버전: | 1.1.0 이전 |
| 이 변수가 사라진 버전: | 계속해서 쓰이고 있음 |
| 허용값: | Date/Time string |
| 기본값: | '20030516000000' |
| 기타 설정: 알파벳 순 | 기능별 순 | |
상세
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 = 20260712084121;
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.