Manuale:$wgResourceLoaderMaxage

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

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎日本語
ResourceLoader: $wgResourceLoaderMaxage
Maximum time in seconds to cache resources served by ResourceLoader.
Introdotto nella versione:1.17.0 (r73568)
Rimosso nella versione:still in use
Valori concessi:(array)
Valore predefinito:"vedi sotto"
Impostazioni: Alfabetiche | Per funzione

Dettagli

Maximum time in seconds to cache resources served by ResourceLoader.

Default value

$wgResourceLoaderMaxage = array(
	'versioned' => array(
		// Squid/Varnish but also any other public proxy cache between the client and MediaWiki
		'server' => 30 * 24 * 60 * 60, // 30 days
		// On the client side (e.g. in the browser cache).
		'client' => 30 * 24 * 60 * 60, // 30 days
	),
	'unversioned' => array(
		'server' => 5 * 60, // 5 minuti
		'client' => 5 * 60, // 5 minuti
	),
);

Vedi anche