Manual:$wgUseSquid

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgUseSquid and the translation is 46% complete.

Other languages:
English • ‎Nederlands • ‎español • ‎magyar • ‎polski • ‎български • ‎македонски • ‎русский • ‎中文 • ‎日本語
Squid: $wgUseSquid
Activar/desactivar Squid.
Introducido en la versión:1.2.0
Deprecated in version:1.34.0 (Gerrit change 387877; git #f9f8dff4)
Eliminado en la versión:aún se usa
Valores permitidos:(booleano)
Valor predeterminado:false

Detalles

Activar o desactiva 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. The Last-Modified date 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.

La lista de servidores Squid a purgar en la actualización debe guardarse en $wgSquidServers .

Sending purge requests requires the sockets PHP extension.