octfx / multipurge
Purge multiple services like cloudflare and varnish on page modification
Installs: 845
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 2
Open Issues: 0
Type:mediawiki-extension
Requires
- php: >=8.0
- ext-json: *
- composer/installers: >=1.0.1
Requires (Dev)
This package is auto-updated.
Last update: 2024-11-15 06:47: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.