Account for $wgSquidMaxage in OutputPage::checkLastModified().
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 9 Apr 2013 20:55:36 +0000 (13:55 -0700)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 16 Apr 2013 06:53:10 +0000 (06:53 +0000)
commit3082af54722d6688b1298736e041ea68e061013d
tree2127298a17722213daea6cc8ac279a0e58d77c20
parent562acce759552777dd5b9a02bfae95bc3f0164bb
Account for $wgSquidMaxage in OutputPage::checkLastModified().

* This deals with the fact that seldom edited pages can end up cached
  with very stale resource (JS/CSS) references since the response to
  IMS GET requests will be 304 Not Modified if page_touched is ancient.
  When squid revalidates its stale cache it will keep getting 304s and
  renewing the TTL on the stale cache.

Bug: 44570
Change-Id: I3889f300012aeabd37e228653279ad19b296e4ae
includes/OutputPage.php