It's fast because it's not bloated. It returns fairly minimal (if not elegant) HTML, and loads few additional resources.
The HN front page is about 7kB - many times smaller than even minimized jQuery (83kB as of 2.1.4).
The data is small and all fits in RAM on a single server during normal operation, so there's no additional network latency hitting a DB over the network.