Skip to content

Website List - Please Populate FIRST on Load #5097

Closed
anonymous-piwik-user opened this Issue May 5, 2014 · 3 comments

3 participants

@anonymous-piwik-user

At some point in recent releases, the website list became dynamically loaded AFTER the rest of the default website modules loaded. This slows me down substantially from the way it was before, as I am usually wanting to choose a different website. On slow connections, it can take 10 to 20 seconds for all the modules to load before the user can choose a different website to view. Can you change this so that it loads BEFORE the tracking modules, so it will function similarly to how it used to?

@mattab
Piwik Open Source Analytics member
mattab commented May 6, 2014

Thanks for suggestion!

@tsteur I'm not sure how this could be fixed? maybe we could pre-load the list of sites as JSON within the main request to CoreHome?

@tsteur
Piwik Open Source Analytics member
tsteur commented May 8, 2014

I can load them via XHR, although it was on purpose not to do this as you have to request the websites list with each request although you might not use it. The current behavior improves the page load time / performance...

@tsteur
Piwik Open Source Analytics member
tsteur commented May 8, 2014

In 5df1f63: fixes #5097 load initial list of websites on load

@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur fixes #5097 load initial list of websites on load 5df1f63
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.