Jump to content

Manual:$wgUseFileCache: Difference between revisions

From mediawiki.org
Content deleted Content added
Hoggwild5 (talk | contribs)
No edit summary
m update link
Line 16: Line 16:
Specify where you want the cache files to go in your server filesystem using <code>[[Manual:$wgFileCacheDirectory|$wgFileCacheDirectory ]]</code>. You must create the directory yourself though.
Specify where you want the cache files to go in your server filesystem using <code>[[Manual:$wgFileCacheDirectory|$wgFileCacheDirectory ]]</code>. You must create the directory yourself though.


See also [[File cache]] and [[meta:Help:File_cache]]
See also [[Manual:File cache]].

Revision as of 15:49, 30 May 2008

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

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.

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.