Avoid page_touched update for HTTP GET action=purge requests
authorAaron Schulz <aschulz@wikimedia.org>
Sun, 11 Sep 2016 18:49:42 +0000 (11:49 -0700)
committerLegoktm <legoktm.wikipedia@gmail.com>
Tue, 13 Sep 2016 05:24:46 +0000 (05:24 +0000)
commitc84ba4d86420d7af918e572e2cd4613d7be185b3
tree5857c9856dc40f26c937a00c96d773405e9c0094
parent6d9a2f849f3292f6d5e9e399889db8f4f58d1c1a
Avoid page_touched update for HTTP GET action=purge requests

This will still clear the local DC parser cache and the CDN cache
in all DCs. Therefore, the next page views served by the local
DC will reflect the refreshed content, as will further GET/HEAD
requests by the client that issued the purge using GET/HEAD.

If the problem was imply a stale CDN cache entry, then all
DCs will be up-to-date. If the problem is stale parser cache,
then a proper POST purge request is required to refresh all DCs.

Bug: T92357
Change-Id: I9af12ca8cfff73298f404fd3e2dd4f546621c546
includes/actions/PurgeAction.php
includes/actions/ViewAction.php
includes/api/ApiPurge.php
includes/page/Article.php
includes/page/WikiFilePage.php
includes/page/WikiPage.php
includes/parser/ParserCache.php