Topics /

Web & Frontend

The most popular blog posts about web & frontend on Hacker News. 8,469 posts.

Any year
8191

Don’t use @import

In Chapter 5 of High Performance Web Sites , I briefly mention that @import has a negative impact on web page performance. I dug into this deeper for my talk at Web 2.0 Expo , creating several test pages and HTTP waterfall charts, all shown below. The bottomline is: use LINK instead of @import if you want stylesheets…

8216

What webhooks are and why you should care

Webhooks are user-defined HTTP callbacks. Here’s a common example: You go to github. There’s a textbox for their code post webhook. You drop in a URL. Now when you post your code to github, github will HTTP POST to your chosen URL with details about the code post. There is no simpler way to allow open ended…

8220

Why HTTP?

The world doesn’t need another arbitrary binary protocol. Just use HTTP. Your life will be simpler. Originally this came up when scaling a gaggle of MySQL machines. I would have killed for a reliable proxy. It’s with this in mind that I’ve come up with my list of things that HTTP has that an arbitrary protocol will…