Manual:PurgeChangedPages.php/fi

This page is a translated version of the page Manual:PurgeChangedPages.php and the translation is 29% complete.
MediaWiki version:
1.22

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.

Options/Arguments

Vaihtoehto Kuvaus Pakollinen?
--starttime Starting timestamp Required
--endtime Ending timestamp Required
--htcp-dest HTCP announcement destination (IP:port) Optional
--sleep-per-batch Milliseconds to sleep between batches Optional
--dry-run Do not send purge requests Optional
--verbose Show more output Optional

Käyttö

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


Terminal
$ php maintenance/purgeChangedPages.php --starttime 20210101 --endtime 20220115

Processing changes from 20210101 to 20220115.
Done!

Katso myös