Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Website List - Please Populate FIRST on Load #5097

Closed
anonymous-matomo-user opened this issue May 5, 2014 · 3 comments
Closed

Website List - Please Populate FIRST on Load #5097

anonymous-matomo-user opened this issue May 5, 2014 · 3 comments
Assignees
Labels
Enhancement For new feature suggestions that for example enhance Matomo's cabapilities..
Milestone

Comments

@anonymous-matomo-user
Copy link

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
Copy link
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
Copy link
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
Copy link
Member

tsteur commented May 8, 2014

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

@anonymous-matomo-user anonymous-matomo-user added this to the 2.3.0 - Piwik 2.3.0 milestone Jul 8, 2014
sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that for example enhance Matomo's cabapilities..
Projects
None yet
Development

No branches or pull requests

3 participants