The front page of JeremyMorgan.com loads less than a second, most of the time, from various parts of the world.
The website was fast before whe...
For further actions, you may consider blocking this person and/or reporting abuse
This is an article about speeding up your static site build, not speeding up your page load.
If you are using netlify it doesn't matter how long your build is. Once the build is finished the server gets switched.
I think other static site hosters will have a similar setup.
Hugo is fast but you should be prepared to learn Go. If that is not something you want to do, stick with a static site generator in a language that you know.
I don't know Go, but I'm using Hugo for 1 year now...
Thank you for this beautiful and detailed write-up.
I checked a few pages of your website. You can further improve the speed by lazy loading the images.
Another area of improvement is making fewer HTTP requests. Like you can merge your main.css and syntax.css file, this way browser will have to fetch only one CSS file. You also load three separate JS files, which you can concatenate together into a single file.
Thanks! That's among my next steps. I am on the fence about lazy loading but I will be combining CSS and JS even further, as well as pushing some assets out to their own domain/CDN. Right now I'm very happy with Netlify's speed.
Please do write on it when you finish it. I picked some new tools from your post on image optimization, so I would love to pick new tips on combing CSS and JS.
I am curious. Is it necessary? Doesn't Netlify CDN handles all the assets?
Netlify supports HTTP/2, which eliminates the need to bundle your files to reduce requests.
I'd add a few items for your next comparison:
And some of those hosting include free simple statistics, that could replace Google Analytics, and thus remove the need for JS in your site, unless your pride requires to have Google Analytics numbers :)
Which one does provide free statistics?
Hexo is just a static site generator
Firebase has basic statistics
Github hosting don't provide any stats
And I don't know about Zeit
Thanks for providing that information. I recently purchased a dot com domain name but haven't done anything with it. I was thinking about moving my blogger page to it but am not sure how yet. Maybe I should just try to get it up and running first. First, I'll need to consider how (and who) to host it. I bought it on Dynadot because of the awesome price and was thinking about doing the blog first, then setting up my own email address on it. I don't really need the email, I just like the idea of having my own. Thanks again.
I chose same-ish tools:
My website loads in half a second (200ms for the DOM content) and the code is terribly unoptimized. In my experience, small filesizes and HTTP2 are the most important factors unless you're using rails, in which case you might as well give up.
I saw bug in your blog articles, there is a word blog in top. 😄
I don't know about how it works with Hugo, but in general zeit.co is also a great, free hosting choice!
Nice 😄 , Some questions:
You have hosted Hugo in Netlify, But Which CDN you have used ?
All this setup is free or you pay yearly price ?
Netlify is free. Hugo is also free of course. Netlify has their own CDN so you won't need another one.
Why Netlify and not Zeit?
I have never heard of Zeit and did not include it in my analysis. I will take a look at it in the future, however.
Thank you for sharing this useful information!
It took almost 4 seconds to load here (I am currently located in Israel).
Also, are you using SSR?
Thanks