MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onHtmlCacheUpdaterVaryUrls ( $urls, &$append) | |
This hook is used to add variants of URLs to purge from HTTP caches. | |
Stable to implement.
Definition at line 9 of file HtmlCacheUpdaterVaryUrlsHook.php.
MediaWiki\Cache\Hook\HtmlCacheUpdaterVaryUrlsHook::onHtmlCacheUpdaterVaryUrls | ( | $urls, | |
& | $append | ||
) |
This hook is used to add variants of URLs to purge from HTTP caches.
Extensions that provide site-wide variants of all URLs, such as by serving from an alternate domain or path, can use this hook to append alternative URLs for each url in $urls.
array | $urls | Canonical URLs |
array | &$append | Append alternative URLs for $urls |
Implemented in MediaWiki\HookContainer\HookRunner.