Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgCacheDirectory and the translation is 50% complete.

Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎日本語
キャッシュ: $wgCacheDirectory
導入されたバージョン:1.16.0 (r52503)
許容される値:(文字列: ファイルシステム内のパス)
その他の設定: アルファベット順 | 機能順


This directory stores some cache files specific for a given wiki, which means wiki farms should have one such directory per wiki.

ウェブからアクセスできるようにしてはいけません。 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).


The proposed value is "$IP/cache". 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.

Note that you should not set this directory to '/tmp' else there could be conflicts with other MediaWiki installations on the same server (wiki farms or shared servers).