https://bugzilla.wikimedia.org/show_bug.cgi?id=20340
Summary: API loads unneeded things from LocalisationCache Product: MediaWiki Version: 1.16-svn Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: Normal Component: API AssignedTo: roan.katt...@gmail.com ReportedBy: maxsem.w...@gmail.com CC: bryan.tongm...@gmail.com, vasi...@gmail.com, soxre...@gmail.com Every call to API results in initialisation of LocalisationCache and loads of some stuff due to LocalisationCache::initLanguage() and User::getDefaultOptions(): SQL: SELECT /* LCStore_DB::get */ lc_value FROM l10n_cache WHERE lc_lang = 'en' AND lc_key = 'deps' LIMIT 1 SQL: SELECT /* LCStore_DB::get */ lc_value FROM l10n_cache WHERE lc_lang = 'en' AND lc_key = 'preload' LIMIT 1 While it's not critical, performance could be improved by avoiding these calls. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l