octfx / multipurge
在页面修改时清除多个服务,如Cloudflare和Varnish
1.2.1
2023-08-16 12:52 UTC
Requires
- php: >=8.0
- ext-json: *
- composer/installers: >=1.0.1
Requires (Dev)
This package is auto-updated.
Last update: 2024-09-15 06:25:24 UTC
README
允许按定义顺序清除多个服务的页面。
基于 https://phabricator.wikimedia.org/T216225#5335375
For a custom CDN purger:
Enable $wgUseCDN so that CdnCacheUpdate runs. (Keep these off $wgCdnReboundPurgeDelay, $wgCdnServers, and $wgHTCPRouting).
配置选项
特殊页面
MultiPurge为系统操作员添加了一个特殊页面,允许清除load.php URL。
该页面可以在Special:PurgeResources找到。
只有具有editinterface权限的用户才能访问此页面。
页面通过请求给定标题的实际HTML输出,并解析所有load.php调用来工作。
然后可以选择所有找到的链接进行清除。