New

The latest blog posts to take off on Hacker News. 573 posts.

Web & Frontend
2021
335

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…

348

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…