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

Developer website is slow #97

Open
tsteur opened this issue Jul 15, 2015 · 2 comments · May be fixed by #200
Open

Developer website is slow #97

tsteur opened this issue Jul 15, 2015 · 2 comments · May be fixed by #200
Labels

Comments

@tsteur
Copy link
Member

tsteur commented Jul 15, 2015

Just opened the website and noticed the website is pretty slow. It takes over 4s to load and the JS and font files are never cached. The site used to load in under 500ms. It's also a bit annoying since sometimes some content is there but it takes 2 or 3 more seconds until the titles are rendered (because they use a custom font now). My internet connection is 2Mbit/s, testing with Chrome.

JS and fonts should be loaded from cache, ideally they would be loaded async.

developer website

@tsteur tsteur added the bug label Jul 15, 2015
@tsteur tsteur changed the title Developer Website is slow Developer website is slow Jul 15, 2015
@Findus23 Findus23 linked a pull request Oct 26, 2017 that will close this issue
@Findus23
Copy link
Member

Findus23 commented Oct 31, 2017

My new version(#200) is about the same size (170kb gziped for /integration), but as the CSS and JS are concated in three files it seems to load faster.
Without cache it takes about 6 seconds to display content and 9 seconds until it has finished loading with slow 3g

The chrome lighthouse report show the following with 562.5ms RTT, 1.4Mbps down, 0.7Mbps up:
screenshot_20171031_173847

CSS and JS can definitly be cache for some time as they have the git commit in the querystring.

Maybe only the needed parts of the bootstrap js could be included to further speed it up. The largest part is the font-awesome webfont, but it shouldn't delay rendering.

until the titles are rendered (because they use a custom font now).

As the site isn't using webfonts anymore this should definitely have improved.

Do you have any more ideas for improving the speed?

@tsteur
Copy link
Member Author

tsteur commented Oct 31, 2017

I think it mainly was slow that time because of the custom fonts we used but replaced them a while ago with native fonts which made it much faster.

but as the CSS and JS are concated in three files it seems to load faster.

This is great.

No more ideas for improving the speed, well done 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants