Blogging SoftwareSunday, 27 Sep 2015, 01:16

By Simon

My all new Blog

I recently switched my hosting provider and I upgraded to an cheap dedicated server by ovh So I started migrating all my data and I decided to speed up my software stack a little bit by replacing apache with nginx. I was never quite satisfied with the speed of my old website, but - so I thought - with this new dedicated server everything should be faster.

When I finally had everything ready I notice that the loading time for the webpage is over 500ms just to load the HTML. Old graph

I decided this can’t be and since I always wanted to get started with Go I decided to use a nice webframework named revel and build my own blogging software.

This is the result

Of course most javascript and css resources are now cdn hosted, but the rendering and delivery of the html page happens in under 50ms New graph

I also optimized it a little bit more for mobile devices, the resulting website scores much better on Google’s PageSpeed Insights The blog code is just a few hundred lines of go code + lots of template code.

If you’re interested you can have a look at the code on github

Thanks to alle the people who wrote the components this software builds on:

And of course https://github.com/hermanschaaf/ironzebra for inspiration

Leave a comment

Maximum of 50 characters.
Max 100 characters.
Required. Max 500 characters. Markdown is supported, but no images. Every Post will be checked befor it is shown