Open main menu
This page is a translated version of the page Manual:$wgUseFileCache and the translation is 36% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎magyar • ‎polski • ‎中文 • ‎日本語
文件缓存: $wgUseFileCache
Create static HTML pages for unregistered viewers to reduce database traffic.
引进版本: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, $wgShowIPinHeader and $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.

参见