Jump to content
MediaWiki

Manual:$wgUseFileCache

From mediawiki.org
File Cache: $wgUseFileCache
Create static HTML pages for unregistered viewers to reduce database traffic.
Introduced in version:Before 1.1.0
Removed in version:Still in use
Allowed values:(boolean)
Default value:false
Other settings: Alphabetical | By function

Details

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 will have to create the directory yourself if it doesn't get created automatically. The PHP user must have write access to the directory.

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

See also

AltStyle によって変換されたページ (->オリジナル) /