Podręcznik:$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 36% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎polski • ‎中文 • ‎日本語
File Cache: $wgUseFileCache
Create static HTML pages for unregistered viewers to reduce database traffic.
Wprowadzono w wersji:pre 1.1.0
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(wartość logiczna)
Domyślna wartość:false

Szczegóły

Set to true to activate the server-side file cache. The cache consists of static HTML pages that are served to unregistered viewers to reduce database traffic.

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

The HTML pages will be created in the directory specified by $wgFileCacheDirectory . You must create the directory yourself though.

Zobacz też