wiki.techinc.nl/includes/cache
Brian Wolff de1aefd55c Make UserCache only look up a user once.
I noticed on special:listfiles/username, UserCache was doing queries
like select user_whatever from user where user_id in ( '1', '1', ...)
with the same user id 50 times (one for each result returned in the
special page). That seemed a little insane, so put the list of
users to query through a array_unique. (Quite likely the db would
optimize that query to not literally look up the same user 50 times,
but nonetheless it seems better to filter the list before then)

Change-Id: I80c8a359d0f7a53b2420ebcda641e594dd3c56e9
2013-04-17 18:28:05 -03:00
..
BacklinkCache.php Cleanup and performance tweaks for BacklinkCache. 2013-04-04 14:54:53 -07:00
CacheDependency.php Fixed @param tags to conform with Doxygen format. 2013-03-11 13:15:01 -04:00
FileCacheBase.php Added/Removed spaces around string concatenation 2013-04-13 13:36:24 +02:00
GenderCache.php Fixed @param tags to conform with Doxygen format. 2013-03-11 13:15:01 -04:00
HTMLCacheUpdate.php Use onTransactionIdle() for page invalidations when not using the job queue. 2013-04-16 10:16:10 -07:00
HTMLFileCache.php fix some spacing 2013-02-09 23:03:53 +01:00
LinkBatch.php Fixed @param tags to conform with Doxygen format. 2013-03-11 13:15:01 -04:00
LinkCache.php Merge "Correct case of Title::getPrefixedDBkey() calls" 2013-03-12 15:13:21 +00:00
LocalisationCache.php Add missing wfProfileOut before throwing an exception 2013-04-08 18:37:24 +00:00
MessageCache.php Update documentation and styling 2013-04-11 17:01:18 +02:00
ObjectFileCache.php Added missing GPLv2 headers in some places. 2012-05-08 14:51:21 +02:00
ProcessCacheLRU.php [FileBackend] Stat caching improvements. 2012-11-16 12:14:20 -08:00
ResourceFileCache.php Added missing GPLv2 headers in some places. 2012-05-08 14:51:21 +02:00
SquidUpdate.php Add missing wfProfileOut before throwing an exception 2013-04-08 18:37:24 +00:00
UserCache.php Make UserCache only look up a user once. 2013-04-17 18:28:05 -03:00