Hacker News new | ask | show | jobs
by kriro 3970 days ago
Somewhat ironic item at the end of the article?

"""If you read this far you should probably follow me on twitter""" with a Twitter icon and follower count.

Personal brands are brands, too and I'd count this as advertising as well.

1 comments

That's true. At least I went through the trouble of making sure that twitter won't be tracking your reading of the page (hit 'shift-control-q and then ctrl-F5 on firefox if you don't believe me, the whole page is one hit to my server and nothing else) and my 'corporation' isn't trying to sell you anything. That follower count is static and it's updated once per week or so.

But reading this page you weren't reading any other and if you tweet the link or pass it on then you've been successfully enlisted in my army ;)

See also:

https://www.youtube.com/watch?v=-5LEYG5TqaI

How did you get your whole site running in just 3 requests?
Images are in data: urls (so the three requests to generate the page are really only one request to the server), stylesheet is embedded in the page, twitter button hacked until it no longer needed twitter before you click on it, no eye candy beyond the minimum required to get the site working, no external 'fancy' fonts because browser ship with plenty of them to get the message across.

I'm still playing code-golf on the stylesheet to make it smaller. 14 Kilo bytes transferred data on that page in total, load time start-to-end 150 ms or so depending on the speed of your connection.

I don't like bloat and I like my website to load fast. I also think that's more considerate of visitors on mobile who usually have to pay for their bandwidth and have less of it as well as third world countries. On top of that I don't like external resources controlled by others for tracking or other purposes beyond my control so no trackers, analytics or other bull-shit. It's finished when there is nothing left to remove while still keeping the look exactly like it is right now.

You don't need 'page transitions' when the pages load instantaneously :)

It's really just one request if I'm not mistaken. The two data requests are actually references to images embedded in the HTML.

A bit of an aggrevating question but if you look at the site, why should it be more than 1 request? It's just styled text without any obvious images.

> It's really just one request if I'm not mistaken.

You're correct.

> The two data requests are actually references to images embedded in the HTML.

Yep.

> A bit of an aggrevating question but if you look at the site, why should it be more than 1 request?

100% agree with that. The problem is that most pages that are just 'text without any obvious images' clock in tens of requests and easily a megabyte+.

Before I finally found the time to switch blogging platforms this one was no different and it aggravated me no end that something that simple should require 600K of data and 18 requests. The new one (which was quite a bit of work to put together, it took more work to send less data) is much better in that sense.