Manual:$wgEnableParserCache/zh
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed from MediaWiki core in version <tvar name=ver>1.33.0</tvar>.</translate> <translate> Please see <tvar name=page>$wgParserCacheType</tvar> for an alternative way to use this feature.</translate> |
<translate> Parser Cache</translate>: $wgEnableParserCache | |
---|---|
Keep parsed pages in a cache to speed up page output. |
|
<translate> Introduced in version:</translate> | 1.2.0 |
<translate> Deprecated in version:</translate> | 1.26.0 (Gerrit change 212199; git #8194b201) |
<translate> Removed in version:</translate> | 1.33.0 (Gerrit change 486713; git #d39cc0e8) |
<translate> Allowed values:</translate> | (布尔值) |
<translate> Default value:</translate> | true (1.4-1.32)false (1.2-1.3) |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
Keep parsed pages in the cache specified by $wgParserCacheType
to speed up output of the same page viewed by another user with the same options.
This can provide a significant speedup for medium to large pages, so you probably want to keep it on.
Requires that php was compiled with --with-zlib
.
Categories:
- MediaWiki configuration settings/zh
- MediaWiki configuration settings introduced in version 1.2.0/zh
- MediaWiki configuration settings deprecated in version 1.26.0/zh
- MediaWiki configuration settings removed in version 1.33.0/zh
- Pages with broken file links
- MediaWiki deprecated or obsolete features/zh
- Cache variables/zh