Manual:$wgUseFileCache: Difference between revisions
Content deleted Content added
m swap paragraph to have most important information up |
m Fix old source tag |
||
Line 5: | Line 5: | ||
|section=File Cache |
|section=File Cache |
||
|range=<translate><!--T:1--> (boolean)</translate> |
|range=<translate><!--T:1--> (boolean)</translate> |
||
|default=< |
|default=<syntaxhighlight lang="php" inline>false</syntaxhighlight> |
||
|summary=<translate><!--T:13--> Create static HTML pages for unregistered viewers to reduce database traffic.</translate> |
|summary=<translate><!--T:13--> Create static HTML pages for unregistered viewers to reduce database traffic.</translate> |
||
}} |
}} |
Latest revision as of 11:34, 28 January 2022
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
[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.)