手册:$wgUseFileCache

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgUseFileCache and the translation is 36% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎català • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎中文 • ‎日本語
文件缓存: $wgUseFileCache
This will cache static pages for non-logged-in users to reduce database traffic on public sites.
引进版本:pre 1.1.0
移除版本:仍在使用
允许的值:(布尔值)
默认值:false
其他设置: 按首字母排序 | 按功能排序

详情

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. (Part of that automatically done after r46374.)

Specify where you want the cache files to go in your server filesystem using $wgFileCacheDirectory . You must create the directory yourself though.

参见