手册:$wgUseFileCache
文件缓存: $wgUseFileCache | |
---|---|
为未注册的查看器创建静态HTML页以减少数据库流量。 |
|
引进版本: | pre 1.1.0 |
移除版本: | 仍在使用 |
允许的值: | (布尔值) |
默认值: | false |
其他设置: 按首字母排序 | 按功能排序 |
详情
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.
If $wgUseFileCache
is set to true
, $wgDebugToolbar
will automatically be set to false
.
(Part of that automatically done after r46374.)
The HTML pages will be created in the directory specified by $wgFileCacheDirectory
.
You must create the directory yourself though.