Manual:purgeChangedPages.php

From Linux Web Expert

Revision as of 04:53, 6 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.22
<translate> MediaWiki version:</translate>

詳細

purgeChangedPages.php file is a maintenance script to send purge requests for pages edited in a date range to squid/varnish. This script can be used to recover from an HTCP message partition or other major cache layer interruption. It processes 100 items in a batch.

オプション/引数

オプション 説明 必須かどうか
--starttime Starting timestamp <translate> Required</translate>
--endtime Ending timestamp <translate> Required</translate>
--htcp-dest HTCP announcement destination (IP:port) <translate> Optional</translate>
--sleep-per-batch Milliseconds to sleep between batches <translate> Optional</translate>
--dry-run Do not send purge requests <translate> Optional</translate>
--verbose Show more output <translate> Optional</translate>

使用法

php maintenance/purgeChangedPages.php --starttime dt1 --endtime dt2 [ --htcp-dest| --sleep-per-batch| --dry-run| --verbose ]


Terminal

関連項目