The Quest for the Smallest Website


motherfuckingwebsite.com launched this movement. Basic HTML, no CSS, no JavaScript. It occured to me that even though I have never seen a website do this, you can just statically serve a .txt file as your page.

  • .txt: no parsing, pure content
  • Slightly smaller file size
  • Simpler MIME type handling
  • .html: parsing overhead
  • html can start rendering before fully downloaded

Think of it like a README, but its your website. It makes it super easy for visitors to save your site, to a file, and leaves everything up to the browser. It can’t be styled with CSS.

Theres something I just like about .txt files. I like how restrictive and pure it is. Probably not going to become a trend. What I would like to see become a trend however, is no build step JavaScript libraries and projects. Its stable!

If you want to read more about the .txt or .text file, the Wikipedia article has you covered.