Live data from Hacker News

The Fastest Blog in the World

jacquesmattheij.com

1–10 of 130 posts

Re: The Fastest Blog in the World

#3
Very zippy indeed! Have you thought about switching to nginx so you can get SPDY (and soon HTTP/2)? Also, Hugo is cool. I've evaluated it myself, but I have 8 years of WordPress archives -- ~500 posts -- and I worry about things like images, comments, etc.

Re: The Fastest Blog in the World

#4
post #3

Very zippy indeed! Have you thought about switching to nginx so you can get SPDY (and soon HTTP/2)? Also, Hugo is cool. I've evaluated it myself, but I have 8 years of WordPress archives -- ~500 posts -- and I worry about things like images, comments, etc.

I would try to use the Jekyll WordPress import tool to get the markdown files.

Re: The Fastest Blog in the World

#6
doesn't inlining the CSS make the page require more data in the long run? Especially if you're not changing it often

Browser caches solve a lot of things for us. Though you're still parsing a bunch of JS, google's front page is "only" fetching 56kb

Granted, this blog post is 13.5kb, but it doesn't have an entire search app embedded into it (with the whole search results automatically appearing thing, I imagine that inside that 56kb is pretty much all the code required for all of google's little widgets in the search results)

Anyways, always fun to see somebody go in and rip out as much cruft as possible

Re: The Fastest Blog in the World

#7
post #3

Very zippy indeed! Have you thought about switching to nginx so you can get SPDY (and soon HTTP/2)? Also, Hugo is cool. I've evaluated it myself, but I have 8 years of WordPress archives -- ~500 posts -- and I worry about things like images, comments, etc.

Doing an import is hardly going to ruin your existing installation. Back up your blog and do the Jekyll import, and see if it’s worth switching to you. :)

Re: The Fastest Blog in the World

#8
post #5

Is there a better way to have fast-loading comments than outsourcing them to Twitter/HN or Discus?

Make a script that adds the comments to the static page. I made a small static site generator that has comments, search, etc. for my own use. https://github.com/Harri/Spage

Re: The Fastest Blog in the World

#9
>I positively hate bloat in all its forms. Take the Google homepage. It’s a one liner text field and two buttons. It weighs in at a whopping 1170 kilobytes! That’s more than a megabyte for what technically should not take more than a few hundred bytes.

That's because you didn't consider the business reasons behind it being 1170Kb.

If it was your "few hundrend bytes" design it would have sank the company (or only have worked in the early days, when VC money took care of lack of income sources).

Re: The Fastest Blog in the World

#10
> inlined the stylesheet (there is a cache penalty here so you have to trim it down as much as possible but the page starts rendering immediately which is a huge gain at the cost of a little bit of extra data transferred)

I guess you're optimizing for people who only visit one page and bounce away?

Well, come to think of it, the majority of visitors who followed this HN link is never going to navigate past the single page that was linked. So it probably makes sense for optimize for them, at the expense of repeat visitors who will have to download the stylesheet over and over again.

Post reply on HN