Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 596 posts.

Web & Frontend
2022
372

Speeding up this site by 50x (2014)

I've seen all these studies that show how a 100ms improvement in page load time has a significant effect on page views, conversion rate, etc., but I'd never actually tried to optimize my site. This blog is a static Octopress site, hosted on GitHub Pages. Static sites are supposed to be fast, and GitHub Pages uses…

377

Body Margin 8px

All browsers add an 8px margin on the body element – it’s part of the w3c-recommended default stylesheet which browsers generally use as a starting point for their own ‘user agent’ styles. But why 8px ? Where does that come from?