Mango-information-systems / twitto_be

twitto_be is a real-time tweets analytics dashboard
https://twitto.be
Other
12 stars 2 forks source link

performance improvement #11

Closed mef closed 11 years ago

mef commented 11 years ago

css loads after the page content is shown, then only js gets executed. Isotope layout takes long time to be applied

Causes of this to be investigated

PanosSynetos commented 11 years ago

Not really! The css doesn't load after the page is show. Have a look in the "network" in firebug, you will see its the second file. It might be flashing cause its calling an external google font, yes, but its not loaded at the end.

Js is normal to be executed at the end. I will not investigate if we are going to get rid of the isotope in next versions

mef commented 11 years ago

Not really! The css doesn't load after the page is show.

Yes it does, load the page on a slow internet connection and you'll see it. First thing amelia-bootstrap.css does is an @import, so this might delay the application of the css rules. Happens in in Firefox and chromium at least.

Filter your firebug net panel to show only the CSS, and you will see how delayed the last piece arrives.

Switching to an unsexy vanilla bootstrap might solve the thing.

PanosSynetos commented 11 years ago

To be honest, I tried with throttling my connection at 56.6 kbps , the css is one of the first that loads, with the default font, and almost at the end the font is loaded. Anyway, lets see together when you have some time

Παναγιώτης Συνετός - Panagiotis Synetos Your friendly webmaster @ 11dig.it Labs http://www.11dig.it Tel: 211 800 33 16 - Mob: 6944 521 546 - Email: _labs@11dig.it_labs@11dig.it

On 17 June 2013 10:03, mef notifications@github.com wrote:

Not really! The css doesn't load after the page is show.

Yes it does, load the page on a slow internet connection and you'll see it. First thing amelia-bootstrap.css does is an @importhttps://github.com/import, so this might delay the application of the css rules. Happens in in Firefox and chromium at least.

Filter your firebug net panel to show only the CSS, and you will see how delayed the last piece arrives.

Switching to an unsexy vanilla bootstrap might solve the thing.

— Reply to this email directly or view it on GitHubhttps://github.com/Mango-information-systems/twitto_be/issues/11#issuecomment-19529082 .

mef commented 11 years ago

closing, as not up-to-date anymore as of 0.3+