resourceloader: Don't cache minification of user.tokens
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 14 May 2015 01:31:42 +0000 (02:31 +0100)
committerOri.livneh <ori@wikimedia.org>
Wed, 3 Jun 2015 17:13:54 +0000 (17:13 +0000)
commit6fa489392815c7c0139a8a2df6447dfff24004ed
treec5f3c5d8438bee7184f19bdffbe7e108e90f493a
parent4e90d55fdc9d31d93e24cf05687eb7d180806f44
resourceloader: Don't cache minification of user.tokens

As of b1e4006b4, the tokens are different on every request.
Caching these is completely useless because the cache entry is
simply unreachable and is extra overhead on every request for
logged-in users to save content to Memcached.

Whether they should be minified at all and whether they perhaps
shouldn't change on every request is a separate matter.

Bug: T84960
Change-Id: I6016e4b01e44e0acbfd6d49f7d99555e2290c9cb
includes/OutputPage.php
includes/resourceloader/ResourceLoader.php
includes/resourceloader/ResourceLoaderStartUpModule.php