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-piwik-user opened this issue May 5, 2014 · 3 comments
Assignees
Labels
Milestone

Comments

@anonymous-piwik-user
Copy link

@anonymous-piwik-user anonymous-piwik-user commented May 5, 2014

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

This comment has been minimized.

Copy link
Member

@mattab 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

This comment has been minimized.

Copy link
Member

@tsteur 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

This comment has been minimized.

Copy link
Member

@tsteur tsteur commented May 8, 2014

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

@anonymous-piwik-user anonymous-piwik-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
Projects
None yet
3 participants
You can’t perform that action at this time.