octfx/multipurge

Purge multiple services like cloudflare and varnish on page modification

1.2.1 2023-08-16 12:52 UTC

This package is auto-updated.

Last update: 2024-12-15 06:56:31 UTC


README

Allows purging of pages for multiple services in a defined order.

Based on https://phabricator.wikimedia.org/T216225#5335375

For a custom CDN purger:

    Enable $wgUseCDN so that CdnCacheUpdate runs. (Keep these off $wgCdnReboundPurgeDelay, $wgCdnServers, and $wgHTCPRouting).

Configuration Options

Special Page

MultiPurge adds a special page for sysops which allows purging of load.php urls.
The page can be found at Special:PurgeResources.

Only users with editinterface permissions can access this page.

The page works by requesting the actual html output of a given title, and parsing all load.php calls.
All found links can then be selected to be purged.