New

The latest blog posts to take off on Hacker News. 4,614 posts.

Web & Frontend
Any year
1633

Why Prefetch Is Broken

When coding a webpage, sometimes you know something is very likely to be needed, even if it's not needed yet. You can give the browser a hint: <link rel=prefetch href=url> The browser will take a note, and then when it doesn't have anything more important to do it might request url. Later on, if it does turn out…

1640

Instanced Line Rendering Using WebGL

Native line rendering in WebGL leaves a lot to be desired. There's inconsistency in the implementation, so you can't trust that the line width you want will be available to you, for example. It's also missing some pretty important features, like line joins and caps. For these reasons, quite a bit of work has been done…