Manual:$wgHTCPMulticastRouting
From MediaWiki.org
HTCP multicast purging: $wgHTCPMulticastRouting | |
---|---|
Routing configuration for HTCP multicast purging. |
|
Introduced in version: | 1.20.0 |
Removed in version: | still in use |
Allowed values: | (array) |
Default value: | array() |
Other settings: Alphabetical | By Function
Details [edit]
Routing configuration for HTCP multicast purging.
Add elements here to enable HTCP and determine which purges are sent where. If set to an empty array, HTCP is disabled.
Each key in this array is a regular expression to match against the purged URL, or an empty string to match all URLs. The purged URL is matched against the regexes in the order specified, and the first rule whose regex matches is used.
Example [edit]
Example configuration to send purges for upload.wikimedia.org to one multicast group and all other purges to another:
$wgHTCPMulticastRouting = array( '|^https?://upload\.wikimedia\.org|' => array( 'host' => '239.128.0.113', 'port' => 4827, ), '' => array( 'host' => '239.128.0.112', 'port' => 4827, ), );