* Changed the expiry time strategy, now treating any request to ResourceLoader::respo...
authorTrevor Parscal <tparscal@users.mediawiki.org>
Mon, 13 Sep 2010 23:19:05 +0000 (23:19 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Mon, 13 Sep 2010 23:19:05 +0000 (23:19 +0000)
commit27a1a673596db0cd7fac3c1e33ff5094a0fd9f67
treed11a30b345ca19d8bf2e400394330390cf084893
parent0d6229223cd043427f80eb2d825c39132ac33958
* Changed the expiry time strategy, now treating any request to ResourceLoader::respond which does not contain a version parameter as an unversioned request which is responded to with a near-future maxage and smaxage, while those which do contain a version parameter are treated as versioned requests and responded to with a far-future maxage and smaxage.
* Added some release notes for ResourceLoader globals.
* Changed when OutputPage appends timestamps to style/script-only requests - now they are only made into versioned requests if the module is a ResourceLoaderWikiModule or a ResourceLoaderUserPreferencesModule - because they might be changed on-wiki and require immediate feedback. This would only affect logged-in users however, as cached pages will contain the latest version number as of the time they were generated. This strategy may need to be adjusted to work with ESI to add version parameters to everything all the time, but this at least presents a reasonable fallback in the event that ESI is not setup.
RELEASE-NOTES
includes/DefaultSettings.php
includes/OutputPage.php
includes/ResourceLoader.php
includes/ResourceLoaderContext.php
includes/ResourceLoaderModule.php