Handbuch:$wgUseFileCache

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgUseFileCache and the translation is 18% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎català • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎中文 • ‎日本語
File Cache: $wgUseFileCache
This will cache static pages for non-logged-in users to reduce database traffic on public sites.
Eingeführt in Version:pre 1.1.0
Entfernt in Version:weiterhin vorhanden
Erlaubte Werte:(boolean)
Standardwert:false
Andere Einstellungen: Alphabetisch | Nach Funktion

Details

Set to true to activate server-side file caching. This will cache static pages for non-logged-in users to reduce database traffic on public sites.

If $wgUseFileCache is set to true, $wgShowIPinHeaderManual:$wgShowIPinHeader and $wgDebugToolbarManual:$wgDebugToolbar will automatically be set to false. (Part of that automatically done after r46374.)

Specify where you want the cache files to go in your server filesystem using $wgFileCacheDirectoryManual:$wgFileCacheDirectory. You must create the directory yourself though.

See also