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

ampersandjs.com is slow #160

Open
klaemo opened this issue Jul 16, 2015 · 2 comments
Open

ampersandjs.com is slow #160

klaemo opened this issue Jul 16, 2015 · 2 comments

Comments

@klaemo
Copy link

klaemo commented Jul 16, 2015

Hey there,
during my work with ampersand I've opened ampersandjs.com/docs quite a lot and I noticed that it's pretty slow. I took more than 6s to load with a primed cache. It's a static site that rarely changes. It should load immediately.
Here's the waterfall chart:
ampersandjs-site

There seem to be a couple of problems. The main offender is obviously fonts.css. Are custom fonts really necessary for a documentation site? Also, I think css and js files should all be concatenated. Maybe even the html page could be cached for a day or so.

I'd really like to start a discussion about improving this :)

@klaemo
Copy link
Author

klaemo commented Jul 16, 2015

The following files don't have any cache headers:
http://ampersandjs.com/public/css/main.css http://ampersandjs.com/public/css/normalize.min.css http://ampersandjs.com/public/images/icon-arrow.svg http://ampersandjs.com/public/images/icon-link.svg http://ampersandjs.com/public/js/highlight.pack.js http://ampersandjs.com/public/js/setup.js

@HenrikJoreteg
Copy link
Member

agreed, we should fix this.

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

No branches or pull requests

2 participants