Handbuch:$wgUseSquid
Appearance
Diese Funktion wurde in der Version 1.35.0 aus dem MediaWiki-Kern entfernt.
Auf $wgUseCdn findet sich eine alternative Möglichkeit, diese Funktion zu nutzen. |
| Einstellungen für den HTTP-Proxy (CDN): $wgUseSquid | |
|---|---|
| Aktiviere/deaktiviere Squid. |
|
| Eingeführt in Version: | 1.2.0 |
| Veraltet in Version: | 1.34.0 (Gerrit change 387877; git #f9f8dff4) |
| Entfernt in Version: | 1.35.0 (Gerrit change 579755; git #e8d9d68b) |
| Erlaubte Werte: | (Wahrheitswert) |
| Standardwert: | false |
| Andere Einstellungen: Alphabetisch | Nach Funktion | |
Details
Aktiviere/deaktiviere Squid. Squid configuration causes the following changes in behaviour:
- The
Cache-Controlheader is changed to allow the cache proxy to blindly cache content for a predetermined period of time (configured by $wgSquidMaxage). - The
Last-Modifiedheader is artificially shortened to ensure the cache proxy will not renew outdated HTML beyond a certain age. TheLast-Modifieddate will never be older than $wgSquidMaxage. This will allow to refresh the cached copy in case there were changes to footer icons, sidebar, skin update, and other configuration or skin-level changes not tracked by the wiki page itself. - 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.