Manual:$wgUseFileCache: Difference between revisions
Appearance
Content deleted Content added
m Category:Cache variables not added by template yeah |
mNo edit summary |
||
| Line 18: | Line 18: | ||
See also [[Manual:File cache]]. |
See also [[Manual:File cache]]. |
||
[[Category:Cache variables]] |
[[Category:Cache variables|UseFileCache]] |
||
Revision as of 00:18, 14 March 2010
| File Cache: $wgUseFileCache | |
|---|---|
| This will cache static pages for non-logged-in users to reduce database traffic on public sites. |
|
| 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
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.
Must set $wgShowIPinHeader = false. (Done automatically after r46374.)
Specify where you want the cache files to go in your server filesystem using $wgFileCacheDirectory . You must create the directory yourself though.
See also Manual:File cache.