Manual:$wgUseFileCache

From MediaWiki.org

Jump to: navigation, search
File Cache: $wgUseFileCache
This will cache static pages for non-logged-in users to reduce database traffic on public sites.
Introduced in version: pre 1.1.0
Removed in version: still in use
Allowed Values: (boolean)
Default Value: false

Other settings: Alphabetical | By Function


[edit] 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.

Must set $wgShowIPinHeader = false.

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

See also Manual:File cache.

Personal tools