Improve UI speed: cancel ajax requests on menu click #1829

mattab opened this Issue Nov 17, 2010 · 1 comment

1 participant

Piwik Open Source Analytics member

Currently, if you click on a menu item, current outstanding ajax requests are not aborted, and the new page will only load after the previous ajax requests have returned (depending on the browser concurrent connexion settings, etc.).

The most common use case is:

  • open Piwik
  • while dashboard is loading (many http requests queued)... user clicks on a different menu item
  • The report displays 'loading...' but the numerous dashboard http requests are still being processed.
  • the report user requested finally loads

Instead, when clicking on a menu item, all previous ajax requests should be cancelled and the new Ajax requests for the requested report should load directly.

Piwik Open Source Analytics member

(In [3666]) Fixes #1829

@mattab mattab added this to the Piwik 1.2 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment