Topics /

Web & Frontend

The most popular blog posts about web & frontend on Hacker News. 540 posts.

2019
377

RFC8482 – Saying Goodbye to ANY

Ladies and gentlemen, I would like you to welcome the new shiny RFC8482, which effectively deprecates DNS ANY query type. DNS ANY was a "meta-query" - think about it as a similar thing to the common A, AAAA, MX or SRV query types, but unlike these it wasn't a real query type - it was special.

384

Preload, prefetch and other link tags

There’re lots of ways to improve web performance (see Web Performance 101 for a full overview). One of those ways is to preload content you’ll need later in advance. Prefetch a CSS file, prerender a full page, or resolve a domain ahead of time – and you won’t have to wait for it when it’s actually needed! Sounds cool.

387

Coping with Flexbox

If only someone paid me everytime I visited CSSTrick's flexbox guide…or at least all those times when I fiddled around {justify,align}-{content,items} trying to make _something_ happen on screen. I wanted to form a better mental model of all the basic functionality that flexbox provides for all those…

388

A horrifying globalThis polyfill in JavaScript

The globalThis proposal introduces a unified mechanism to access the global this in any JavaScript environment. It sounds like a simple thing to polyfill, but it turns out it’s pretty hard to get right. I didn’t even think it was possible until Toon blew my mind with an unexpected, creative solution.