Manual:$wgUseSquid/ru
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.35.0</tvar>.</translate> <translate> Please see <tvar name=page>$wgUseCdn</tvar> for an alternative way to use this feature.</translate> |
<translate> HTTP proxy (CDN) settings</translate>: $wgUseSquid | |
---|---|
Включить/Отключить Squid. |
|
<translate> Introduced in version:</translate> | 1.2.0 |
<translate> Deprecated in version:</translate> | 1.34.0 (Gerrit change 387877; git #f9f8dff4) |
<translate> Removed in version:</translate> | 1.35.0 (Gerrit change 579755; git #e8d9d68b) |
<translate> Allowed values:</translate> | (логическое) |
<translate> Default value:</translate> | false |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Подробности
Включить/Отключить Squid. Squid configuration causes the following changes in behaviour:
- The
Cache-Control
header is changed to allow the cache proxy to blindly cache content for a predetermined period of time (configured by $wgSquidMaxage ). - The
Last-Modified
header is artificially shortened to ensure the cache proxy will not renew outdated HTML beyond a certain age. Дата вLast-Modified
никогда не должен быть старее чем в $wgSquidMaxage. Это позволит обновить кэшированную копию в случае, если были изменены нижние иконки, боковая панель, обновлен скин и другие конфигурации или другие изменения на уровне скина, которые отслеживаются самой страницей wiki. - Purges are sent to ensure content edited by users remains up to date immediately.
The list of Squid servers to be purged on update must be stored in $wgSquidServers
.
Sending purge requests requires the sockets PHP extension.
Categories:
- MediaWiki configuration settings/ru
- MediaWiki configuration settings introduced in version 1.2.0/ru
- MediaWiki configuration settings deprecated in version 1.34.0/ru
- MediaWiki configuration settings removed in version 1.35.0/ru
- Pages with broken file links
- MediaWiki deprecated or obsolete features/ru
- Squid variables/ru