Manual:$wgUseFileCache/zh

Category:MediaWiki configuration settings/zh#UseFileCacheCategory:MediaWiki configuration settings introduced before version 1.1.0/zh#UseFileCacheCategory:MediaWiki configuration settings still in use/zh#UseFileCacheCategory:Cache variables/zh#UseFileCache
文件缓存: $wgUseFileCache
为未注册的查看器创建静态HTML页以减少数据库流量。
引进版本: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.

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.)

参见

Category:Cache variables/zh#UseFileCache
Category:Cache variables/zh Category:MediaWiki configuration settings/zh Category:MediaWiki configuration settings introduced before version 1.1.0/zh Category:MediaWiki configuration settings still in use/zh