User "Catrope" changed the status of MediaWiki.r96837. Old Status: fixme New Status: new
Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96837 Commit summary: RL2: Reorganize caching in LocalGadgetRepo so we no longer load the entire gadgets table from the DB on every page view. There is now one memcached entry per gadget, as well as an entry for the list of names. * Rename loadData() to loadIDs() and add loadDataFor(). These functions pull info from 1) $this->data, 2) memcached, 3) DB and propagate back up the chain when misses occur * Add getMemcKey() à la ForeignDBRepo (in phase3/includes/filerepo) and finally uncomment hasSharedCache. This means we now take advantage of cross-wiki memcached access for WMF-like configurations * Put in a dirty hack to prevent cache pollution of the names list between LocalGadgetRepo and ForeignDBGadgetRepo. Will fix this properly later. _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
