X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Factions%2FViewAction.php;h=134b8a45b11a4a7294f5d45de30bd7d6199eb348;hb=6129d1d704a9833b23c92a371fe54475323cc190;hp=0ba964f9b1ec22022b8c3dda123b9d8342bcf04f;hpb=ff70e103def9601f40836cbd9022e1267200510e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/actions/ViewAction.php b/includes/actions/ViewAction.php index 0ba964f9b1..134b8a45b1 100644 --- a/includes/actions/ViewAction.php +++ b/includes/actions/ViewAction.php @@ -58,9 +58,6 @@ class ViewAction extends FormlessAction { $touched = null; } - // If a page was purged on HTTP GET, relect that timestamp to avoid sending 304s - $touched = max( $touched, $this->page->getLastPurgeTimestamp() ); - // Send HTTP 304 if the IMS matches or otherwise set expiry/last-modified headers if ( $touched && $this->getOutput()->checkLastModified( $touched ) ) { wfDebug( __METHOD__ . ": done 304\n" );