Manual:$wgSessionsInObjectCache/zh

Category:MediaWiki configuration settings/zh#SessionsInObjectCacheCategory:MediaWiki configuration settings introduced in version 1.20.0/zh#SessionsInObjectCacheCategory:MediaWiki configuration settings deprecated in version 1.27.0/zh#SessionsInObjectCacheCategory:MediaWiki configuration settings removed in version 1.33.0/zh#SessionsInObjectCacheCategory:MediaWiki deprecated or obsolete features/zh#SessionsInObjectCacheCategory:Cache variables/zh#SessionsInObjectCache
高速缓存设置: $wgSessionsInObjectCache
Whether to store sessions in object cache.
引进版本:1.20.0 (Gerrit change 17929; git #6eb6313b)
弃用版本:1.27.0 (Gerrit change 243223; git #a73c5b73)
移除版本:1.33.0 (Gerrit change 489405; git #a38fe6cd)
允许的值:(布尔值)
true (1.27-1.32)
false (1.20-1.26)

Details

Whether to store sessions in object cache.

Since 1.27.0, sessions are always stored in the object cache, and this configuration parameter becomes unuseful.

The cache type is configured by $wgSessionCacheType. This can be useful to improve performance, or to avoid the locking behavior of PHP's default session handler, which tends to prevent multiple requests for the same user from acting concurrently.

See also

Category:Cache variables/zh Category:MediaWiki configuration settings/zh Category:MediaWiki configuration settings deprecated in version 1.27.0/zh Category:MediaWiki configuration settings introduced in version 1.20.0/zh Category:MediaWiki configuration settings removed in version 1.33.0/zh Category:MediaWiki deprecated or obsolete features/zh