Manual:$wgUseFileCache

From mediawiki.org
Jump to navigation Jump to search
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎magyar • ‎polski • ‎中文 • ‎日本語
File Cache: $wgUseFileCache
Create static HTML pages for unregistered viewers to reduce database traffic.
Introduced in version:pre 1.1.0
Removed in version:still in use
Allowed values:(boolean)
Default value:false

Details[edit]

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.

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

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

See also[edit]