Manual:$wgUseFileCache: Difference between revisions
Content deleted Content added
Add $wgDebugToolbar according to current code from includes/Setup.php. |
No edit summary |
||
Line 20: | Line 20: | ||
<!--T:6--> |
<!--T:6--> |
||
If <code>$wgUseFileCache</code> is set to <tvar|true><code>true</code></>, < |
If <code>$wgUseFileCache</code> is set to <tvar|true><code>true</code></>, <code>[[Manual:$wgShowIPinHeader|$wgShowIPinHeader]]</code> and <code>[[Manual:$wgDebugToolbar|$wgDebugToolbar]]</code> will automatically be set to <tvar|false><code>false</code></>.</translate> |
||
<translate> |
<translate> |
||
<!--T:7--> |
<!--T:7--> |
Revision as of 22:31, 31 October 2015
File Cache: $wgUseFileCache | |
---|---|
This will cache static pages for non-logged-in users to reduce database traffic on public sites. |
|
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 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
, $wgShowIPinHeader
and $wgDebugToolbar
will automatically be set to false
.
(Done automatically after r46374.)
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.
[[Category:Cache variablesTemplate:Translation|UseFileCache]]