News for hackers. Stuff that matters.

Nooshu

This is really cool, I've recently been vibe coding a 2D Fractal Renderer, mainly for experimentation on what modern API's in the browser can do! I plan to write a blog post all about it “soon”. For anyone interested, you can find it here: https://fractals.world/
Re:Bootstrap v5: drop Internet Explorer support on Tuesday April 07, 2020 @05:59PM (#22807939)
I'd be very careful recommending this method for loading webfonts. By Base64 encoding your fonts into a CSS file you are adding 1000's of bytes into a browsers critical path (since CSS is render blocking). You are also removing the browser ability to choose the most optimum font it supports (i.e. one with better compression like WOFF2). Requests are cheap, especially when using HTTP/2 (which multiplexes over a single TCP connection).

If you do use this method, I highly recommend testing both the standard loading method vs Base64 method on a low spec device (e.g. Moto G4 via WebPageTest) and seeing which performs best for your website.

This method used to be used on GOV.UK until we removed it 18 months ago. I wrote about the change here if you are interested: https://technology.blog.gov.uk/2018/10/04/making-gov-uk-page...