News for hackers. Stuff that matters.
Re:Ask HN: Why and how is Hacker News so fast? by srean on Sunday August 02, 2015 @11:26AM (#9991032)
I have been puzzled by this being said about dlang forever and today about HN. These sites are certainly not noticeably slow, but I don't notice anything remarkably fast about them either. Am I not visiting enough of the slow sites ?

My working hypothesis is that I don't have a good understanding of web-development to appreciate the nuances. Much akin to me listening to Indian classical music, Jazz: I would often encounter trained listeners breaking out into a (silent) applause. At those instances I feel bad because I realize I have missed something but I wish I didn't. So all pointers appreciated.

Re:Ask HN: Why and how is Hacker News so fast? by bradleyland on Sunday August 02, 2015 @11:49AM (#9991095)
How fast is your network link, both in terms of throughput and latency for the sites you visit? The OP is browsing over a 256 kbps connection of unknown origin. They are likely impacted by latency and throughput constraints, which will exacerbate issues with sites that require a lot of requests or are resource heavy.

Making a site fast boils down to:

1) Making sure your server responds quickly.

2) Reducing the number of requests required for a page to load.

3) Reducing the number of bytes required for a page to load.

Re:Ask HN: Why and how is Hacker News so fast? by mootothemax on Sunday August 02, 2015 @12:15PM (#9991198)
With an empty cache, for me, hacker news loads in ~700ms.

Under the same conditions, the dlang site loads in ~200ms.

That's half a second faster, which is definitely noticeable when clicking around.

Re:Ask HN: Why and how is Hacker News so fast? by srean on Sunday August 02, 2015 @12:28PM (#9991255)
Thanks for the numbers. A difference of 500ms would definitely be noticeable, especially if its in ones daily workflow
Re:Ask HN: Why and how is Hacker News so fast? by technomancy on Sunday August 02, 2015 @11:42AM (#9991071)
> Am I not visiting enough of the slow sites?

Do you use NoScript? I feel the same way because I usually run with JS turned off. Most things are pretty zippy despite using a computer from 2009.

Re:Ask HN: Why and how is Hacker News so fast? by srean on Sunday August 02, 2015 @12:26PM (#9991244)
Ah! that and flashblock might explain it.