Page MenuHomePhabricator

lots of calls being made to "suggest" api and app gets slow and heavy
Closed, ResolvedPublic

Description

lots of calls being made to "suggest" api and app gets slow and heavy especially on low end phones.
Steps:

  1. go to https://sx.wmflabs.org/index.php/Special:ContentTranslation
  2. click the first suggested article
  3. click the X button to go back to the dashboard

Expected results:

  • only 5 articles show on the suggestions list

Actual results:

  • 168 articles are loaded

Event Timeline

Change 664520 had a related patch set uploaded (by Nik Gkountas; owner: Nik Gkountas):
[mediawiki/extensions/ContentTranslation@master] SX: Performance fixes for vuex fetch actions

https://gerrit.wikimedia.org/r/664520

NOTE TO QA:
try this when this is deployed in sx-labs

Change 664520 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] SX: Performance fixes for vuex fetch actions

https://gerrit.wikimedia.org/r/664520